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

Unified Diff: ash/shell/bubble.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: ash/shell/bubble.cc
diff --git a/ash/shell/bubble.cc b/ash/shell/bubble.cc
index 0b14ad6163c5d2f0e9529813f5a4dee9f492d5cd..649202d784eb079f2e9cb6df79cb81db9bc979d9 100644
--- a/ash/shell/bubble.cc
+++ b/ash/shell/bubble.cc
@@ -40,8 +40,7 @@ void CreatePointyBubble(views::View* anchor_view) {
config.anchor_view = anchor_view;
config.arrow = views::BubbleBorder::TOP_LEFT;
ExampleBubbleDelegateView* bubble = new ExampleBubbleDelegateView(config);
- views::BubbleDelegateView::CreateBubble(bubble);
- bubble->Show();
+ views::BubbleDelegateView::CreateBubble(bubble)->Show();
}
} // namespace shell
« no previous file with comments | « ash/launcher/launcher_tooltip_manager.cc ('k') | ash/system/chromeos/network/network_list_detailed_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698