Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(900)

Unified Diff: chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc

Issue 12897004: Remove BubbleDelegateView::Show(); call GetWidget()->Show() instead; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixup more BubbleDelegateView::Show() calls. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc
diff --git a/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc b/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc
index 21b64894a7cd8c16e699737be8feb909d2b3d0ae..0420b9c5ccae419d4fe3512bcde3651225eb8f04 100644
--- a/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/script_bubble_icon_view.cc
@@ -96,6 +96,5 @@ void ScriptBubbleIconView::ShowScriptBubble(views::View* anchor_view,
WebContents* web_contents) {
ScriptBubbleView* script_bubble = new ScriptBubbleView(anchor_view,
web_contents);
- views::BubbleDelegateView::CreateBubble(script_bubble);
- script_bubble->Show();
+ views::BubbleDelegateView::CreateBubble(script_bubble)->Show();
}

Powered by Google App Engine
This is Rietveld 408576698