summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 20:53:04 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 20:53:04 +0000
commitfb76593391e388bf791f3a6e0d2b72c09ad24202 (patch)
tree9df1ed01cdf07122a8918c91e57fade6a1877126 /chrome
parent3409a076f506e4d7e80f7d79424ca27741ceeb19 (diff)
downloadchromium_src-fb76593391e388bf791f3a6e0d2b72c09ad24202.zip
chromium_src-fb76593391e388bf791f3a6e0d2b72c09ad24202.tar.gz
chromium_src-fb76593391e388bf791f3a6e0d2b72c09ad24202.tar.bz2
Disable inactive rendering for the frame before select popups are initialized, since initializing shows them which causes activation to change.
This fixes the regression where select widgets deactivated the frame.s Review URL: http://codereview.chromium.org/67008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13457 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/tab_contents/web_contents_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/web_contents_view.cc b/chrome/browser/tab_contents/web_contents_view.cc
index feb8266..294b3ca 100644
--- a/chrome/browser/tab_contents/web_contents_view.cc
+++ b/chrome/browser/tab_contents/web_contents_view.cc
@@ -110,9 +110,9 @@ void WebContentsView::ShowCreatedWidgetInternal(
return;
}
- widget_host_view->InitAsPopup(
- web_contents_->render_widget_host_view(), initial_pos);
if (web_contents_->delegate())
web_contents_->delegate()->RenderWidgetShowing();
+ widget_host_view->InitAsPopup(
+ web_contents_->render_widget_host_view(), initial_pos);
widget_host->Init();
}