Index: content/browser/tab_contents/web_contents_view_mac.mm |
diff --git a/content/browser/tab_contents/web_contents_view_mac.mm b/content/browser/tab_contents/web_contents_view_mac.mm |
index 27a0341bd9651b3436a51a16838b2504a820d5b4..b036e43c94a5034964ca6860cf7b334173641cc4 100644 |
--- a/content/browser/tab_contents/web_contents_view_mac.mm |
+++ b/content/browser/tab_contents/web_contents_view_mac.mm |
@@ -93,14 +93,14 @@ void WebContentsViewMac::CreateView(const gfx::Size& initial_size) { |
RenderWidgetHostView* WebContentsViewMac::CreateViewForWidget( |
RenderWidgetHost* render_widget_host) { |
- if (render_widget_host->view()) { |
+ if (render_widget_host->GetView()) { |
// During testing, the view will already be set up in most cases to the |
// test view, so we don't want to clobber it with a real one. To verify that |
// this actually is happening (and somebody isn't accidentally creating the |
// view twice), we check for the RVH Factory, which will be set when we're |
// making special ones (which go along with the special views). |
DCHECK(RenderViewHostFactory::has_factory()); |
- return render_widget_host->view(); |
+ return render_widget_host->GetView(); |
} |
RenderWidgetHostViewMac* view = static_cast<RenderWidgetHostViewMac*>( |