| Index: chrome/browser/tab_contents/web_contents_view_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/web_contents_view_gtk.cc (revision 13136)
|
| +++ chrome/browser/tab_contents/web_contents_view_gtk.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "base/gfx/rect.h"
|
| #include "chrome/browser/gtk/browser_window_gtk.h"
|
| #include "chrome/browser/renderer_host/render_view_host.h"
|
| +#include "chrome/browser/renderer_host/render_view_host_factory.h"
|
| #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h"
|
| #include "chrome/browser/tab_contents/render_view_context_menu_gtk.h"
|
| #include "chrome/browser/tab_contents/tab_contents_delegate.h"
|
| @@ -85,7 +86,7 @@
|
| // 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(web_contents()->render_manager()->has_render_view_host_factory());
|
| + DCHECK(RenderViewHostFactory::has_factory());
|
| return render_widget_host->view();
|
| }
|
|
|
|
|