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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_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/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index 237b075140da33d6cc159627081dd3b0ff6e0bf2..ff81663184afbfa0139512ae95d76143041ac89f 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -240,8 +240,7 @@ InternalPageInfoPopupView::InternalPageInfoPopupView(views::View* anchor_view)
label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
AddChildView(label);
- views::BubbleDelegateView::CreateBubble(this);
- Show();
+ views::BubbleDelegateView::CreateBubble(this)->Show();
SizeToContents();
}
@@ -334,8 +333,7 @@ WebsiteSettingsPopupView::WebsiteSettingsPopupView(
set_margins(gfx::Insets(kPopupMarginTop, kPopupMarginLeft,
kPopupMarginBottom, kPopupMarginRight));
- views::BubbleDelegateView::CreateBubble(this);
- this->Show();
+ views::BubbleDelegateView::CreateBubble(this)->Show();
SizeToContents();
TabSpecificContentSettings* content_settings =
« no previous file with comments | « chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc ('k') | ui/message_center/views/message_center_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698