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

Unified Diff: third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp

Issue 2738573002: Streamline the presentation of ImageBitmapRenderingContext (Closed)
Patch Set: Created 3 years, 9 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/Source/core/paint/HTMLCanvasPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
index b23e8646e009c6c94797699e8fc284dc7c719880..281783f00178d2ac6df1731aa40cc1f1cfdc4d05 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
@@ -28,7 +28,7 @@ void HTMLCanvasPainter::paintReplaced(const PaintInfo& paintInfo,
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
canvas->renderingContext() &&
- canvas->renderingContext()->isAccelerated()) {
+ canvas->renderingContext()->isComposited()) {
if (WebLayer* layer = canvas->renderingContext()->platformLayer()) {
IntRect pixelSnappedRect = pixelSnappedIntRect(contentRect);
recordForeignLayer(context, m_layoutHTMLCanvas,

Powered by Google App Engine
This is Rietveld 408576698