| Index: chrome/browser/ui/views/payments/editor_view_controller.cc
|
| diff --git a/chrome/browser/ui/views/payments/editor_view_controller.cc b/chrome/browser/ui/views/payments/editor_view_controller.cc
|
| index 46c6070774d2699734504c27b278d8ad47207602..809aaaa58f8ed7acc82da6a99b0c78c9f36215f9 100644
|
| --- a/chrome/browser/ui/views/payments/editor_view_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/editor_view_controller.cc
|
| @@ -11,7 +11,6 @@
|
|
|
| #include "base/memory/ptr_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| -#include "chrome/browser/ui/views/harmony/chrome_typography.h"
|
| #include "chrome/browser/ui/views/payments/payment_request_dialog_view.h"
|
| #include "chrome/browser/ui/views/payments/payment_request_dialog_view_ids.h"
|
| #include "chrome/browser/ui/views/payments/payment_request_views_util.h"
|
| @@ -62,9 +61,11 @@
|
| view->SetLayoutManager(layout.release());
|
|
|
| std::unique_ptr<views::Label> error_label =
|
| - base::MakeUnique<views::Label>(error, CONTEXT_DEPRECATED_SMALL);
|
| + base::MakeUnique<views::Label>(error);
|
| error_label->set_id(static_cast<int>(DialogViewID::ERROR_LABEL_OFFSET) +
|
| type);
|
| + error_label->SetFontList(
|
| + error_label->GetDefaultFontList().DeriveWithSizeDelta(-1));
|
| error_label->SetEnabledColor(error_label->GetNativeTheme()->GetSystemColor(
|
| ui::NativeTheme::kColorId_AlertSeverityHigh));
|
|
|
|
|