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

Unified Diff: ui/views/bubble/bubble_dialog_delegate.cc

Issue 2819633002: Restored Pre-Harmony Bubble title margin metrics (Closed)
Patch Set: Fixed a typo Created 3 years, 8 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/views/layout/layout_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_dialog_delegate.cc
diff --git a/ui/views/bubble/bubble_dialog_delegate.cc b/ui/views/bubble/bubble_dialog_delegate.cc
index 3278b6f82c420a685e0a6407f5ea2306650faca5..0f239090451351e9ed2b1b2358027eb24c4f6342 100644
--- a/ui/views/bubble/bubble_dialog_delegate.cc
+++ b/ui/views/bubble/bubble_dialog_delegate.cc
@@ -217,7 +217,7 @@ BubbleDialogDelegateView::BubbleDialogDelegateView(View* anchor_view,
parent_window_(NULL) {
LayoutProvider* provider = LayoutProvider::Get();
margins_ = provider->GetInsetsMetric(INSETS_BUBBLE_CONTENTS);
- title_margins_ = provider->GetInsetsMetric(INSETS_DIALOG_TITLE);
+ title_margins_ = provider->GetInsetsMetric(INSETS_BUBBLE_TITLE);
if (anchor_view)
SetAnchorView(anchor_view);
UpdateColorsFromTheme(GetNativeTheme());
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/views/layout/layout_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698