Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 60dbc73d59f04ee3fbb02ef76c85cbfee154357f..0c152e3cff510005521a0e8714983b6ff24a1f71 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()); |