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

Unified Diff: third_party/WebKit/Source/core/paint/HTMLCanvasPainterTest.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/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();

Powered by Google App Engine
This is Rietveld 408576698