Index: content/shell/shell_content_browser_client.cc |
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc |
index 79d9be77cb4b8ff93cf35379165fd10bff16445f..ce1827f796818a2fd5739705649f45894545167d 100644 |
--- a/content/shell/shell_content_browser_client.cc |
+++ b/content/shell/shell_content_browser_client.cc |
@@ -8,6 +8,7 @@ |
#include "content/browser/webui/empty_web_ui_factory.h" |
#include "content/shell/shell.h" |
#include "content/shell/shell_browser_main.h" |
+#include "content/shell/shell_render_view_host_observer.h" |
#include "googleurl/src/gurl.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "webkit/glue/webpreferences.h" |
@@ -47,6 +48,7 @@ WebContentsView* ShellContentBrowserClient::CreateWebContentsView( |
void ShellContentBrowserClient::RenderViewHostCreated( |
RenderViewHost* render_view_host) { |
+ new ShellRenderViewHostObserver(render_view_host); |
} |
void ShellContentBrowserClient::RenderProcessHostCreated( |