Index: components/test_runner/web_view_test_client.cc |
diff --git a/components/test_runner/web_view_test_client.cc b/components/test_runner/web_view_test_client.cc |
index 6ca965fbf9f62709e6c68371740a6fc6c5661a24..c2f41e712b81484e945d2fb5e367dbf4163981e8 100644 |
--- a/components/test_runner/web_view_test_client.cc |
+++ b/components/test_runner/web_view_test_client.cc |
@@ -18,6 +18,7 @@ |
#include "components/test_runner/test_runner_for_specific_view.h" |
#include "components/test_runner/web_test_delegate.h" |
#include "components/test_runner/web_view_test_proxy.h" |
+#include "components/test_runner/web_widget_test_proxy.h" |
#include "third_party/WebKit/public/platform/WebURLRequest.h" |
#include "third_party/WebKit/public/web/WebFrame.h" |
#include "third_party/WebKit/public/web/WebLocalFrame.h" |
@@ -45,7 +46,8 @@ void WebViewTestClient::startDragging(blink::WebLocalFrame* frame, |
// When running a test, we need to fake a drag drop operation otherwise |
// Windows waits for real mouse events to know when the drag is over. |
- web_view_test_proxy_base_->event_sender()->DoDragDrop(data, mask); |
+ delegate()->GetWebWidgetTestProxyBase(frame)->event_sender()->DoDragDrop( |
+ data, mask); |
} |
// The output from these methods in layout test mode should match that |