summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extension_view_mac.mm
diff options
context:
space:
mode:
authormpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-28 23:36:23 +0000
committermpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-28 23:36:23 +0000
commit971c16885e6dca38e4f3d5d5ba5b73214e3526e7 (patch)
treedf8db75694b66ac673f8b98dfedf1ef509c1994a /chrome/browser/cocoa/extension_view_mac.mm
parente9e3ffdd0c69ecb48c656bd9bd61a10beb731091 (diff)
downloadchromium_src-971c16885e6dca38e4f3d5d5ba5b73214e3526e7.zip
chromium_src-971c16885e6dca38e4f3d5d5ba5b73214e3526e7.tar.gz
chromium_src-971c16885e6dca38e4f3d5d5ba5b73214e3526e7.tar.bz2
Retry r27137. Create renderers for ExtensionHosts one at a time to avoid blocking the UI.
I added a process.Close() to the fast shutdown path for renderers. The problem was that we were trying to use an old terminated process handle. BUG=14040 TEST=Install a bunch of extensions with toolstrips, then restart Chrome. The UI should be responsive while the toolstrips are loading. Review URL: http://codereview.chromium.org/243007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/extension_view_mac.mm')
-rw-r--r--chrome/browser/cocoa/extension_view_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/extension_view_mac.mm b/chrome/browser/cocoa/extension_view_mac.mm
index a64eee8..b8e11f7 100644
--- a/chrome/browser/cocoa/extension_view_mac.mm
+++ b/chrome/browser/cocoa/extension_view_mac.mm
@@ -64,5 +64,5 @@ void ExtensionViewMac::CreateWidgetHostView() {
// disappear.
[render_widget_host_view_->native_view() retain];
- extension_host_->CreateRenderView(render_widget_host_view_);
+ extension_host_->CreateRenderViewSoon(render_widget_host_view_);
}