diff options
Diffstat (limited to 'chromium/ui/native_theme/native_theme_aura.cc')
-rw-r--r-- | chromium/ui/native_theme/native_theme_aura.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/ui/native_theme/native_theme_aura.cc b/chromium/ui/native_theme/native_theme_aura.cc index b47304f2aa4..eaed2772b1e 100644 --- a/chromium/ui/native_theme/native_theme_aura.cc +++ b/chromium/ui/native_theme/native_theme_aura.cc @@ -121,7 +121,9 @@ void NativeThemeAura::PaintMenuPopupBackground( const MenuBackgroundExtraParams& menu_background, ColorScheme color_scheme) const { DCHECK(color_provider); - SkColor color = color_provider->GetColor(kColorMenuBackground); + // TODO(crbug/1308932): Remove FromColor and make all SkColor4f. + SkColor4f color = + SkColor4f::FromColor(color_provider->GetColor(kColorMenuBackground)); if (menu_background.corner_radius > 0) { cc::PaintFlags flags; flags.setStyle(cc::PaintFlags::kFill_Style); |