| Index: content/browser/tab_contents/tab_contents_view_gtk.cc
|
| diff --git a/content/browser/tab_contents/tab_contents_view_gtk.cc b/content/browser/tab_contents/tab_contents_view_gtk.cc
|
| index 9177d041ea9f67f055f6448bb1892f8be68e5473..bce63e1f433f45e96d782919100114da62c0de2f 100644
|
| --- a/content/browser/tab_contents/tab_contents_view_gtk.cc
|
| +++ b/content/browser/tab_contents/tab_contents_view_gtk.cc
|
| @@ -107,14 +107,14 @@ void TabContentsViewGtk::CreateView(const gfx::Size& initial_size) {
|
|
|
| RenderWidgetHostView* TabContentsViewGtk::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();
|
| }
|
|
|
| RenderWidgetHostView* view =
|
|
|