Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 9436e65e6971caa4b62652aad893fe7abe5119b2..b11ab4fd37e863c78f6b7992d428632f0381aeb8 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -67,6 +67,7 @@ |
#include "content/renderer/render_process_impl.h" |
#include "content/renderer/render_view_impl.h" |
#include "content/renderer/renderer_webkitplatformsupport_impl.h" |
+#include "content/renderer/web_ui_extension.h" |
#include "grit/content_resources.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ipc/ipc_forwarding_message_filter.h" |
@@ -316,6 +317,8 @@ void RenderThreadImpl::Init() { |
GetContentClient()->renderer()->RenderThreadStarted(); |
+ RegisterExtension(content::WebUIExtension::Get()); |
+ |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
if (command_line.HasSwitch(switches::kEnableGpuBenchmarking)) |
RegisterExtension(GpuBenchmarkingExtension::Get()); |