| Index: ui/native_theme/native_theme_mac.mm
|
| diff --git a/ui/native_theme/native_theme_mac.mm b/ui/native_theme/native_theme_mac.mm
|
| index 4b34bf7d12c77bb43e634f19c66017de978d07bb..e08aded6500a14566452e82ddc42fadbc0d0e3a4 100644
|
| --- a/ui/native_theme/native_theme_mac.mm
|
| +++ b/ui/native_theme/native_theme_mac.mm
|
| @@ -15,6 +15,7 @@
|
| #include "third_party/skia/include/core/SkDrawLooper.h"
|
| #include "third_party/skia/include/core/SkRRect.h"
|
| #include "third_party/skia/include/effects/SkGradientShader.h"
|
| +#include "ui/base/material_design/material_design_controller.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| #include "ui/gfx/shadow_value.h"
|
| @@ -113,7 +114,9 @@ SkColor NativeThemeMac::GetSystemColor(ColorId color_id) const {
|
| case kColorId_WindowBackground:
|
| return NSSystemColorToSkColor([NSColor windowBackgroundColor]);
|
| case kColorId_DialogBackground:
|
| - return kDialogBackgroundColor;
|
| + return ui::MaterialDesignController::IsSecondaryUiMaterial()
|
| + ? GetAuraColor(color_id, this)
|
| + : kDialogBackgroundColor;
|
| case kColorId_BubbleBackground:
|
| return SK_ColorWHITE;
|
|
|
|
|