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..2e761e4158a90577bf0cd7249347a6ea97438566 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 frame->NodeImage(*frame, *element); |
} |
void RemoveElementById(WebLocalFrameBase* frame, const AtomicString& id) { |