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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2916043002: Move LocalFrame::DragImageForSelection DragController (Closed)
Patch Set: updated Created 3 years, 7 months 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/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 c6b01b61765d287303e80921c49a8f8542c73c73..960806b636ecd9e0241e10d46b66a7bd8a474343 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -288,7 +288,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) {

Powered by Google App Engine
This is Rietveld 408576698