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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp

Issue 2653933003: Make stream captures work on canvases that are not in the DOM. (Closed)
Patch Set: fix test + review comments Created 3 years, 10 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/modules/canvas2d/CanvasRenderingContext2DTest.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
index 4d23f7d84bff0bedead3c502a3c3e5a1a562c897..b41b009fcceabd957f005f8148a06a89973a8b5e 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DTest.cpp
@@ -813,7 +813,7 @@ TEST_F(CanvasRenderingContext2DTest, NoFallbackWithSmallState) {
context2d()->save();
context2d()->translate(1.0f, 0.0f);
}
- canvasElement().doDeferredPaintInvalidation(); // To close the current frame
+ canvasElement().finalizeFrame(); // To close the current frame
}
TEST_F(CanvasRenderingContext2DTest, FallbackWithLargeState) {
@@ -832,7 +832,7 @@ TEST_F(CanvasRenderingContext2DTest, FallbackWithLargeState) {
context2d()->save();
context2d()->translate(1.0f, 0.0f);
}
- canvasElement().doDeferredPaintInvalidation(); // To close the current frame
+ canvasElement().finalizeFrame(); // To close the current frame
}
TEST_F(CanvasRenderingContext2DTest, OpaqueDisplayListFallsBackForText) {

Powered by Google App Engine
This is Rietveld 408576698