| 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,
|
|
|