| Index: content/browser/web_contents/web_contents_view_aura.cc
|
| diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
|
| index 791bbd34e9c959d8f12249de1d2fc99dada96ee3..42e43f28c244482f875534127ca259536259fef3 100644
|
| --- a/content/browser/web_contents/web_contents_view_aura.cc
|
| +++ b/content/browser/web_contents/web_contents_view_aura.cc
|
| @@ -291,7 +291,7 @@ class WebDragSourceAura : public MessageLoopForUI::Observer,
|
| aura::Window* window = rvh->GetView()->GetNativeView();
|
| aura::Window::ConvertPointToTarget(window->GetRootWindow(),
|
| window, &client_loc);
|
| - rvh->DragSourceMovedTo(client_loc.x(), client_loc.y(),
|
| + contents_->DragSourceMovedTo(client_loc.x(), client_loc.y(),
|
| screen_loc.x(), screen_loc.y());
|
| }
|
| break;
|
| @@ -902,8 +902,8 @@ void WebContentsViewAura::EndDrag(WebKit::WebDragOperationsMask ops) {
|
| RenderViewHost* rvh = web_contents_->GetRenderViewHost();
|
| aura::Window* window = rvh->GetView()->GetNativeView();
|
| aura::Window::ConvertPointToTarget(root_window, window, &client_loc);
|
| - rvh->DragSourceEndedAt(client_loc.x(), client_loc.y(), screen_loc.x(),
|
| - screen_loc.y(), ops);
|
| + web_contents_->DragSourceEndedAt(client_loc.x(), client_loc.y(),
|
| + screen_loc.x(), screen_loc.y(), ops);
|
| }
|
|
|
| void WebContentsViewAura::PrepareOverscrollWindow() {
|
| @@ -1357,7 +1357,7 @@ void WebContentsViewAura::StartDragging(
|
| return;
|
|
|
| EndDrag(ConvertToWeb(result_op));
|
| - web_contents_->GetRenderViewHost()->DragSourceSystemDragEnded();
|
| + web_contents_->SystemDragEnded();
|
| }
|
|
|
| void WebContentsViewAura::UpdateDragCursor(WebKit::WebDragOperation operation) {
|
|
|