Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 666772ce409c3eaab9737b330165122bc737e074..f99c6ff3c26fd74261c3fc753d61741b043061b1 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -118,6 +118,7 @@ |
#include "content/renderer/v8_value_converter_impl.h" |
#include "content/renderer/web_ui_extension.h" |
#include "content/renderer/web_ui_extension_data.h" |
+#include "content/renderer/web_ui_mojo.h" |
#include "content/renderer/websharedworker_proxy.h" |
#include "media/audio/audio_output_device.h" |
#include "media/base/audio_renderer_mixer_input.h" |
@@ -238,10 +239,6 @@ |
#include "content/renderer/media/rtc_peer_connection_handler.h" |
#endif |
-#if defined(USE_MOJO) |
-#include "content/renderer/web_ui_mojo.h" |
-#endif |
- |
using blink::WebAXObject; |
using blink::WebApplicationCacheHost; |
using blink::WebApplicationCacheHostClient; |
@@ -3354,10 +3351,8 @@ void RenderViewImpl::OnAllowBindings(int enabled_bindings_flags) { |
!(enabled_bindings_ & BINDINGS_POLICY_WEB_UI)) { |
// WebUIExtensionData deletes itself when we're destroyed. |
new WebUIExtensionData(this); |
-#if defined(USE_MOJO) |
// WebUIMojo deletes itself when we're destroyed. |
new WebUIMojo(this); |
-#endif |
} |
enabled_bindings_ |= enabled_bindings_flags; |