Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
index ba09ca08d699cd6a043bb12b3990c583cc0e23b0..d010e96ced1367933646fdc59b49fb7b7bba19f4 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -295,7 +295,7 @@ class WebFrameTest : public ::testing::Test { |
ToLocalFrame(web_view_helper->WebView()->GetPage()->MainFrame()); |
DCHECK(frame); |
Element* element = frame->GetDocument()->getElementById(testcase.c_str()); |
- return frame->NodeImage(*element); |
+ return DataTransfer::NodeImage(*frame, *element); |
} |
void RemoveElementById(WebLocalFrameBase* frame, const AtomicString& id) { |