summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/web_contents_view.cc')
-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();
}