summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 5c265d9..998eb50 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -2830,12 +2830,6 @@ TabContents::GetLastCommittedNavigationEntryForRenderManager() {
bool TabContents::CreateRenderViewForRenderManager(
RenderViewHost* render_view_host) {
- // If the pending navigation is to a DOMUI, tell the RenderView about any
- // bindings it will need enabled.
- if (render_manager_.pending_dom_ui())
- render_view_host->AllowBindings(
- render_manager_.pending_dom_ui()->bindings());
-
RenderWidgetHostView* rwh_view = view_->CreateViewForWidget(render_view_host);
scoped_refptr<URLRequestContextGetter> request_context = request_context_;