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

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

Issue 2738573002: Streamline the presentation of ImageBitmapRenderingContext (Closed)
Patch Set: Fixed expectations Created 3 years, 8 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 9607dd66cff40dfaf331d5681fe1ea9c2395e873..d28b4ccfbf13de9107ca271af325f973d52d8177 100644
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainter.cpp
@@ -27,7 +27,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