Index: third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp |
index a15033470d7c374197970912298a021e3fd618c4..fa3b275ff7ad16b2f24bb6ec0676b04ba0f1582b 100644 |
--- a/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.cpp |
@@ -84,7 +84,8 @@ TEST_P(HTMLCanvasPainterTestForSPv2, Canvas2DLayerAppearsInLayerTree) { |
element->createImageBufferUsingSurfaceForTesting(WTF::wrapUnique( |
new Canvas2DImageBufferSurface(bridge, IntSize(300, 200)))); |
ASSERT_EQ(context, element->renderingContext()); |
- ASSERT_TRUE(context->isAccelerated()); |
+ ASSERT_TRUE(context->isComposited()); |
+ ASSERT_TRUE(element->isAccelerated()); |
// Force the page to paint. |
document().view()->updateAllLifecyclePhases(); |