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

Unified Diff: chrome/browser/ui/views/first_run_bubble.cc

Issue 2859193004: Remove GridLayout::SetInsets in favor of an empty border on the host. (Closed)
Patch Set: missed a merge problem Created 3 years, 7 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/first_run_bubble.cc
diff --git a/chrome/browser/ui/views/first_run_bubble.cc b/chrome/browser/ui/views/first_run_bubble.cc
index 684c9dc1b68f2a8ebac013252276bf8f1312ff55..70098c35ba2f039af558b2b659e70a4e69dfe24a 100644
--- a/chrome/browser/ui/views/first_run_bubble.cc
+++ b/chrome/browser/ui/views/first_run_bubble.cc
@@ -63,7 +63,8 @@ void FirstRunBubble::Init() {
l10n_util::GetStringUTF16(IDS_FR_BUBBLE_SUBTEXT), {original_font_list});
views::GridLayout* layout = views::GridLayout::CreatePanel(this);
- layout->SetInsets(kTopInset, kLeftInset, kBottomInset, kRightInset);
+ SetBorder(views::CreateEmptyBorder(kTopInset, kLeftInset, kBottomInset,
+ kRightInset));
ChromeLayoutProvider* provider = ChromeLayoutProvider::Get();

Powered by Google App Engine
This is Rietveld 408576698