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

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

Issue 2479563005: Create manager to track OffscreenCanvasSurfaceImpl instances (Closed)
Patch Set: 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..4cd92072db75c48fb969437e0d2fc24aa0d98f53 100644
--- a/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModuleTest.cpp
+++ b/third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModuleTest.cpp
@@ -43,7 +43,7 @@ OffscreenCanvas* HTMLCanvasElementModuleTest::transferControlToOffscreen(
// exclude the part that creates surface layer bridge because a mojo message
// pipe cannot be tested using webkit unit tests.
return HTMLCanvasElementModule::transferControlToOffscreenInternal(
- canvasElement(), exceptionState);
+ canvasElement(), DOMNodeIds::idForNode(&canvasElement()), exceptionState);
}
TEST_F(HTMLCanvasElementModuleTest, TransferControlToOffscreen) {

Powered by Google App Engine
This is Rietveld 408576698