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

Unified Diff: chrome/browser/devtools/devtools_window.cc

Issue 11943008: The dev tools process does not actually need Web UI bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/devtools_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_window.cc
===================================================================
--- chrome/browser/devtools/devtools_window.cc (revision 177212)
+++ chrome/browser/devtools/devtools_window.cc (working copy)
@@ -193,8 +193,6 @@
// Create WebContents with devtools.
WebContents* web_contents =
WebContents::Create(WebContents::CreateParams(profile));
- web_contents->GetRenderViewHost()->AllowBindings(
- content::BINDINGS_POLICY_WEB_UI);
web_contents->GetController().LoadURL(
GetDevToolsUrl(profile, dock_side, shared_worker_frontend),
content::Referrer(),
« no previous file with comments | « no previous file | chrome/browser/ui/webui/devtools_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698