Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: trunk/src/content/renderer/render_view_impl.cc

Issue 208263008: Revert 258763 "Adds plumbing to pass WebUI mojo::Handle from bro..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/renderer/render_view_impl.cc
===================================================================
--- trunk/src/content/renderer/render_view_impl.cc (revision 258768)
+++ trunk/src/content/renderer/render_view_impl.cc (working copy)
@@ -238,10 +238,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;
@@ -3515,12 +3511,7 @@
void RenderViewImpl::OnAllowBindings(int enabled_bindings_flags) {
if ((enabled_bindings_flags & BINDINGS_POLICY_WEB_UI) &&
!(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;
« no previous file with comments | « trunk/src/content/renderer/mojo/mojo_render_process_observer.cc ('k') | trunk/src/content/renderer/web_ui_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698