Index: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc |
diff --git a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc |
index 8834f813931ef736722d47d6bc070c364ac459ee..4bcfc335be8b0482bf7024ba86b318d61a03d686 100644 |
--- a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc |
+++ b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.cc |
@@ -58,7 +58,7 @@ class WebDragSourceAura : public MessageLoopForUI::Observer { |
if (rvh) { |
gfx::Point screen_loc = ui::EventLocationFromNative(event); |
gfx::Point client_loc = screen_loc; |
- aura::Window* window = rvh->view()->GetNativeView(); |
+ aura::Window* window = rvh->GetView()->GetNativeView(); |
aura::Window::ConvertPointToWindow(ash::Shell::GetRootWindow(), |
window, &client_loc); |
rvh->DragSourceMovedTo(client_loc.x(), client_loc.y(), |
@@ -319,7 +319,7 @@ void NativeTabContentsViewAura::EndDrag(WebKit::WebDragOperationsMask ops) { |
ash::Shell::GetRootWindow()->last_mouse_location(); |
gfx::Point client_loc = screen_loc; |
RenderViewHost* rvh = GetWebContents()->GetRenderViewHost(); |
- aura::Window* window = rvh->view()->GetNativeView(); |
+ aura::Window* window = rvh->GetView()->GetNativeView(); |
aura::Window::ConvertPointToWindow(ash::Shell::GetRootWindow(), |
window, &client_loc); |
rvh->DragSourceEndedAt(client_loc.x(), client_loc.y(), screen_loc.x(), |