Index: chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
index 678c21406d4ea828d8d25097b81bfd1315c05c6d..8c981ced768e2e9a9c9b2977c6b48628519790dd 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
+++ b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm |
@@ -78,7 +78,7 @@ using content::WebContents; |
// formally resigns first responder status. Handle this by explicitly sending |
// a Blur() message to the renderer, but only if the RWHV currently has focus. |
RenderViewHost* rvh = [self webContents]->GetRenderViewHost(); |
- if (rvh && rvh->view() && rvh->view()->HasFocus()) |
+ if (rvh && rvh->GetView() && rvh->GetView()->HasFocus()) |
rvh->Blur(); |
} |