Index: apps/shell/app/shell_main_delegate.cc |
diff --git a/apps/shell/app/shell_main_delegate.cc b/apps/shell/app/shell_main_delegate.cc |
index b8f835d1ae84a3e6177c0afabded275a1b090ed9..2a9cd1439f170df486bc20c0171418e236daf8c0 100644 |
--- a/apps/shell/app/shell_main_delegate.cc |
+++ b/apps/shell/app/shell_main_delegate.cc |
@@ -8,6 +8,7 @@ |
#include "apps/shell/browser/shell_content_browser_client.h" |
#include "apps/shell/common/shell_content_client.h" |
#include "apps/shell/renderer/shell_content_renderer_client.h" |
+#include "apps/shell/renderer/shell_renderer_main_delegate.h" |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
#include "base/logging.h" |
@@ -73,7 +74,8 @@ content::ContentBrowserClient* ShellMainDelegate::CreateContentBrowserClient() { |
content::ContentRendererClient* |
ShellMainDelegate::CreateContentRendererClient() { |
- renderer_client_.reset(new ShellContentRendererClient); |
+ renderer_client_.reset( |
+ new ShellContentRendererClient(CreateShellRendererMainDelegate())); |
return renderer_client_.get(); |
} |
@@ -81,6 +83,11 @@ ShellBrowserMainDelegate* ShellMainDelegate::CreateShellBrowserMainDelegate() { |
return new DefaultShellBrowserMainDelegate(); |
} |
+scoped_ptr<ShellRendererMainDelegate> |
+ShellMainDelegate::CreateShellRendererMainDelegate() { |
+ return scoped_ptr<ShellRendererMainDelegate>(); |
+} |
+ |
// static |
bool ShellMainDelegate::ProcessNeedsResourceBundle( |
const std::string& process_type) { |