Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html

Issue 2192493003: Enable GPU acceleration in 2D OffscreenCanvases on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dev tools failure Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html
diff --git a/third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html b/third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html
index bf368f04cf431265cbc8842ef1fb7ff32bb68d01..ab5c0e4ec909934b85c04bcaffd9bc84ddd73c23 100644
--- a/third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html
+++ b/third_party/WebKit/LayoutTests/fast/borders/border-radius-mask-canvas-with-shadow.html
@@ -21,11 +21,11 @@
<canvas id="theCanvas" width="257" height="257"></canvas>
<script>
if (window.internals) {
- internals.settings.setAccelerated2dCanvasEnabled(true);
+ internals.runtimeFlags.accelerated2dCanvasEnabled = true;
}
var context = theCanvas.getContext('2d');
context.fillStyle = 'green';
- context.fillRect(0, 0, theCanvas.width, theCanvas.width);
+ context.fillRect(0, 0, theCanvas.width, theCanvas.width);
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698