Removing canvas rendering mode switching feature

Desktop / Chromium - junov [chromium.org] - 25 May 2017 13:22 EDT

This feature was abandoned. Cleaning out the code BUG=725984 TBR=rkaplow@chromium.org

Review-Url: https://codereview.chromium.org/2903053002 Cr-Commit-Position: refs/heads/master@{#474685}

1d09c4b Removing canvas rendering mode switching feature
chrome/browser/about_flags.cc | 5 -
.../chromeos/login/chrome_restart_request.cc | 1 -
chrome/browser/flag_descriptions.cc | 11 -
chrome/browser/flag_descriptions.h | 3 -
.../renderer_host/render_process_host_impl.cc | 1 -
content/child/runtime_features.cc | 4 -
content/public/common/content_switches.cc | 5 -
content/public/common/content_switches.h | 1 -
.../WebKit/Source/core/html/HTMLCanvasElement.cpp | 46 +-
.../WebKit/Source/core/html/HTMLCanvasElement.h | 2 -
.../core/html/canvas/CanvasRenderingContext.h | 1 -
third_party/WebKit/Source/modules/BUILD.gn | 1 -
.../modules/canvas2d/BaseRenderingContext2D.cpp | 259 +-------
.../modules/canvas2d/BaseRenderingContext2D.h | 10 +-
.../modules/canvas2d/CanvasRenderingContext2D.cpp | 40 +-
.../modules/canvas2d/CanvasRenderingContext2D.h | 4 -
.../canvas2d/CanvasRenderingContext2DTest.cpp | 94 +--
.../CanvasRenderingContext2DUsageTrackingTest.cpp | 684 ---------------------
.../canvas2d/tools/GeneratePerformanceData.html | 59 --
.../canvas2d/tools/GeneratePerformanceData.js | 647 -------------------
.../WebKit/Source/modules/canvas2d/tools/README.md | 17 -
.../WebKit/Source/modules/canvas2d/tools/bench.js | 29 -
third_party/WebKit/Source/platform/BUILD.gn | 2 +-
.../Source/platform/RuntimeEnabledFeatures.json5 | 4 -
.../platform/exported/WebRuntimeFeatures.cpp | 6 -
.../platform/graphics/Canvas2DLayerBridge.cpp | 4 +-
.../platform/graphics/CanvasHeuristicParameters.h | 109 ++++
.../graphics/ExpensiveCanvasHeuristicParameters.h | 216 -------
.../Source/platform/graphics/ImageBuffer.cpp | 6 +-
.../graphics/RecordingImageBufferSurface.cpp | 8 +-
tools/metrics/histograms/enums.xml | 2 -
31 files changed, 163 insertions(+), 2118 deletions(-)

Upstream: git.chromium.org


  • Share