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

Unified Diff: third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModuleTest.cpp

Issue 2493673002: Synchronize OffscreenCanvas content with the placeholder canvas (Closed)
Patch Set: fix obsolete test Created 4 years, 1 month 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/canvas/HTMLCanvasElementModuleTest.cpp
diff --git a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModuleTest.cpp b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModuleTest.cpp
index 545ff92643d9ba89294cbe8cd24faa338584e502..1f235357324a917de9d633b1772d33198740ed83 100644
--- a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModuleTest.cpp
+++ b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModuleTest.cpp
@@ -49,7 +49,7 @@ OffscreenCanvas* HTMLCanvasElementModuleTest::transferControlToOffscreen(
TEST_F(HTMLCanvasElementModuleTest, TransferControlToOffscreen) {
NonThrowableExceptionState exceptionState;
OffscreenCanvas* offscreenCanvas = transferControlToOffscreen(exceptionState);
- int canvasId = offscreenCanvas->getAssociatedCanvasId();
+ int canvasId = offscreenCanvas->placeholderCanvasId();
EXPECT_EQ(canvasId, DOMNodeIds::idForNode(&(canvasElement())));
}

Powered by Google App Engine
This is Rietveld 408576698