diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 21:58:08 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 21:58:08 +0000 |
commit | 9d7eed94008640d64ce3e6108829509eaa52c4b1 (patch) | |
tree | b226dc5489acd8fb48fbf88004ce67393ee946a0 /chrome/browser/gtk/extension_view_gtk.cc | |
parent | 8f37b0fd073dd6ffef654d206f429a9368ef674a (diff) | |
download | chromium_src-9d7eed94008640d64ce3e6108829509eaa52c4b1.zip chromium_src-9d7eed94008640d64ce3e6108829509eaa52c4b1.tar.gz chromium_src-9d7eed94008640d64ce3e6108829509eaa52c4b1.tar.bz2 |
Create renderers for ExtensionHosts one at a time to avoid blocking the UI.
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/220028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/extension_view_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/extension_view_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/extension_view_gtk.cc b/chrome/browser/gtk/extension_view_gtk.cc index 4c06cfb..b6bb3a4 100644 --- a/chrome/browser/gtk/extension_view_gtk.cc +++ b/chrome/browser/gtk/extension_view_gtk.cc @@ -41,5 +41,5 @@ void ExtensionViewGtk::CreateWidgetHostView() { render_widget_host_view_ = new RenderWidgetHostViewGtk(render_view_host()); render_widget_host_view_->InitAsChild(); - extension_host_->CreateRenderView(render_widget_host_view_); + extension_host_->CreateRenderViewSoon(render_widget_host_view_); } |