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

Unified Diff: chrome/browser/ui/views/collected_cookies_views.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/collected_cookies_views.cc
diff --git a/chrome/browser/ui/views/collected_cookies_views.cc b/chrome/browser/ui/views/collected_cookies_views.cc
index 6ba10647d8b74c3c1530ecce265a07a755af9062..4b79b3f3d2247709637ead60c609d6b5e469c9ab 100644
--- a/chrome/browser/ui/views/collected_cookies_views.cc
+++ b/chrome/browser/ui/views/collected_cookies_views.cc
@@ -310,8 +310,10 @@ void CollectedCookiesViews::Init() {
GridLayout* layout = new GridLayout(this);
ChromeLayoutProvider* provider = ChromeLayoutProvider::Get();
- if (provider->UseExtraDialogPadding())
- layout->SetInsets(gfx::Insets(kTabbedPaneTopPadding, 0, 0, 0));
+ if (provider->UseExtraDialogPadding()) {
+ SetBorder(
+ views::CreateEmptyBorder(gfx::Insets(kTabbedPaneTopPadding, 0, 0, 0)));
+ }
SetLayoutManager(layout);
const int single_column_layout_id = 0;
« no previous file with comments | « chrome/browser/chromeos/profiles/multiprofiles_session_aborted_dialog.cc ('k') | chrome/browser/ui/views/cookie_info_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698