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

Unified Diff: chrome/browser/ui/views/chrome_to_mobile_bubble_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/chrome_to_mobile_bubble_view.cc
diff --git a/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc b/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
index 575c0d70b7a048806bc1ffbfd0e61d076c46c412..398a63ad85f68300fbd808cb697b3cde421d6fe7 100644
--- a/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
+++ b/chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc
@@ -85,8 +85,7 @@ void ChromeToMobileBubbleView::ShowBubble(views::View* anchor_view,
// Show the lit mobile device icon during the bubble's lifetime.
SetTextButtonIconToId(anchor_view, IDR_MOBILE_LIT);
bubble_ = new ChromeToMobileBubbleView(anchor_view, browser);
- views::BubbleDelegateView::CreateBubble(bubble_);
- bubble_->Show();
+ views::BubbleDelegateView::CreateBubble(bubble_)->Show();
}
// static
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_prompt_view.cc ('k') | chrome/browser/ui/views/extensions/extension_popup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698