| Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| index 6970f7df1c7d7aa85010fc9afa81ab6adacfee2d..addc3e0e9a2734b44e38d2967e0aa64b8189c6ab 100644
|
| --- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| +++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
|
| @@ -155,8 +155,9 @@
|
| PasswordGenerationPopupController::kHorizontalPadding));
|
| AddChildView(help_label_);
|
|
|
| - set_background(views::Background::CreateThemedSolidBackground(
|
| - this, ui::NativeTheme::kColorId_ResultsTableNormalBackground));
|
| + set_background(views::Background::CreateSolidBackground(
|
| + GetNativeTheme()->GetSystemColor(
|
| + ui::NativeTheme::kColorId_ResultsTableNormalBackground)));
|
| }
|
|
|
| PasswordGenerationPopupViewViews::~PasswordGenerationPopupViewViews() {}
|
| @@ -211,11 +212,12 @@
|
| if (controller_->password_selected())
|
| NotifyAccessibilityEvent(ui::AX_EVENT_SELECTION, true);
|
|
|
| - password_view_->set_background(views::Background::CreateThemedSolidBackground(
|
| - password_view_,
|
| - controller_->password_selected()
|
| - ? ui::NativeTheme::kColorId_ResultsTableHoveredBackground
|
| - : ui::NativeTheme::kColorId_ResultsTableNormalBackground));
|
| + password_view_->set_background(
|
| + views::Background::CreateSolidBackground(
|
| + GetNativeTheme()->GetSystemColor(
|
| + controller_->password_selected() ?
|
| + ui::NativeTheme::kColorId_ResultsTableHoveredBackground :
|
| + ui::NativeTheme::kColorId_ResultsTableNormalBackground)));
|
| }
|
|
|
| void PasswordGenerationPopupViewViews::Layout() {
|
|
|