| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index 127706e00e66ec3e4b4e5dff3601c6df10de40d0..550b9cbc0290202e296f81c38a4ce947130f9b86 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -87,6 +87,7 @@
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/gfx/image/image_skia_operations.h"
|
| #include "ui/gfx/skia_util.h"
|
| +#include "ui/native_theme/native_theme.h"
|
|
|
| namespace autofill {
|
|
|
| @@ -772,7 +773,8 @@ bool AutofillDialogControllerImpl::IsDialogButtonEnabled(
|
| return !is_submitting_ || IsSubmitPausedOn(wallet::VERIFY_CVV);
|
| }
|
|
|
| -DialogOverlayState AutofillDialogControllerImpl::GetDialogOverlay() {
|
| +DialogOverlayState AutofillDialogControllerImpl::GetDialogOverlay(
|
| + const ui::NativeTheme* theme) {
|
| bool show_wallet_interstitial = IsPayingWithWallet() && is_submitting_ &&
|
| !(full_wallet_ && !full_wallet_->required_actions().empty());
|
| if (!show_wallet_interstitial) {
|
| @@ -784,7 +786,8 @@ DialogOverlayState AutofillDialogControllerImpl::GetDialogOverlay() {
|
| ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
|
| DialogOverlayState state;
|
| state.string.font = rb.GetFont(ui::ResourceBundle::BaseFont).DeriveFont(3);
|
| - state.string.text_color = SK_ColorDKGRAY;
|
| + state.string.text_color = theme->GetSystemColor(
|
| + ui::NativeTheme::kColorId_TextfieldReadOnlyColor);
|
|
|
| const SkColor start_top_color = SkColorSetRGB(0xD6, 0xD6, 0xD6);
|
| const SkColor start_bottom_color = SkColorSetRGB(0x98, 0x98, 0x98);
|
|
|