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

Unified Diff: content/test/test_render_view_host.cc

Issue 2475443003: Drag-and-drop: Move startDrag out of WebView/RenderView. (Closed)
Patch Set: Removed unneeded declarations. 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
« no previous file with comments | « content/renderer/render_widget_owner_delegate.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index 30c559652b0638f82c7b32d4fda242e1d4240ba2..49a80a0d8bf76a081f818b1bc50bf8353b0ce2e1 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -298,8 +298,8 @@ void TestRenderViewHost::TestOnStartDragging(
const DropData& drop_data) {
blink::WebDragOperationsMask drag_operation = blink::WebDragOperationEvery;
DragEventSourceInfo event_info;
- OnStartDragging(drop_data, drag_operation, SkBitmap(), gfx::Vector2d(),
- event_info);
+ GetWidget()->OnStartDragging(drop_data, drag_operation, SkBitmap(),
+ gfx::Vector2d(), event_info);
}
void TestRenderViewHost::TestOnUpdateStateWithFile(
« no previous file with comments | « content/renderer/render_widget_owner_delegate.h ('k') | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698