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 0ec5d4048c01a200cecb1ce31525bd9cd96541ce..ae31222ee20c1a36b4886b609ed6a523c5e6ed0b 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -290,7 +290,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) { |