summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sidebar
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 20:30:19 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-11 20:30:19 +0000
commit7600428cfa774cfd645d503b50a3d9b4ce1780ac (patch)
tree8e9f84e57e2c303473ca3735c5281e10a4568950 /chrome/browser/sidebar
parent699f8748055aa448acf0e6dc4b59ce914688796d (diff)
downloadchromium_src-7600428cfa774cfd645d503b50a3d9b4ce1780ac.zip
chromium_src-7600428cfa774cfd645d503b50a3d9b4ce1780ac.tar.gz
chromium_src-7600428cfa774cfd645d503b50a3d9b4ce1780ac.tar.bz2
Revert "Looks like this introduced leaks in sync ui tests. Sigh."
This reverts commit 471e46f5060ce0fd9413b0bc5ffbe78a2e4c7d02. TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sidebar')
-rw-r--r--chrome/browser/sidebar/sidebar_container.cc14
1 files changed, 1 insertions, 13 deletions
diff --git a/chrome/browser/sidebar/sidebar_container.cc b/chrome/browser/sidebar/sidebar_container.cc
index 99c69a5..d1e4a33 100644
--- a/chrome/browser/sidebar/sidebar_container.cc
+++ b/chrome/browser/sidebar/sidebar_container.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -16,7 +16,6 @@
#include "content/browser/tab_contents/navigation_entry.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/browser/tab_contents/tab_contents_view.h"
-#include "content/common/bindings_policy.h"
#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -32,17 +31,6 @@ SidebarContainer::SidebarContainer(TabContents* tab,
// Create TabContents for sidebar.
sidebar_contents_.reset(
new TabContents(tab->profile(), NULL, MSG_ROUTING_NONE, NULL, NULL));
- sidebar_contents_->render_view_host()->set_is_extension_process(true);
- const Extension* extension = GetExtension();
- if (extension && extension->is_app()) {
- ExtensionService* service = tab->profile()->GetExtensionService();
- if (service) {
- service->SetInstalledAppForRenderer(
- sidebar_contents_->render_view_host()->process()->id(), extension);
- }
- }
- sidebar_contents_->render_view_host()->AllowBindings(
- BindingsPolicy::EXTENSION);
sidebar_contents_->set_delegate(this);
}