Index: chrome/browser/ui/views/accessibility/invert_bubble_view.cc |
diff --git a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc |
index c1f31bc25246be44922ce97d339e95ceb13445a5..d6eea480cdd31f09cc6386320b7a61af5d7b239e 100644 |
--- a/chrome/browser/ui/views/accessibility/invert_bubble_view.cc |
+++ b/chrome/browser/ui/views/accessibility/invert_bubble_view.cc |
@@ -9,6 +9,7 @@ |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_dialogs.h" |
#include "chrome/browser/ui/views/frame/browser_view.h" |
+#include "chrome/browser/ui/views/harmony/chrome_layout_provider.h" |
#include "chrome/browser/ui/views/toolbar/app_menu_button.h" |
#include "chrome/browser/ui/views/toolbar/toolbar_view.h" |
#include "chrome/common/pref_names.h" |
@@ -25,7 +26,6 @@ |
#include "ui/views/controls/link.h" |
#include "ui/views/controls/link_listener.h" |
#include "ui/views/layout/grid_layout.h" |
-#include "ui/views/layout/layout_constants.h" |
#include "ui/views/widget/widget.h" |
namespace { |
@@ -120,7 +120,8 @@ void InvertBubbleView::Init() { |
layout->StartRow(0, 0); |
layout->AddView(title, 4, 1); |
layout->StartRowWithPadding(0, 0, 0, |
- views::kRelatedControlSmallVerticalSpacing); |
+ ChromeLayoutProvider::Get()->GetDistanceMetric( |
+ DISTANCE_RELATED_CONTROL_VERTICAL_SMALL)); |
layout->AddView(high_contrast_); |
layout->AddView(dark_theme_); |
layout->AddView(learn_more_); |