| Index: ui/views/style/mac/combobox_background_mac.cc
|
| diff --git a/ui/views/style/mac/combobox_background_mac.cc b/ui/views/style/mac/combobox_background_mac.cc
|
| index 8c7ef8f93a35b9cab68a3d3599c37c85f7d5af18..31997b15b781c824649b60f9cc7ae002ba5ee1e3 100644
|
| --- a/ui/views/style/mac/combobox_background_mac.cc
|
| +++ b/ui/views/style/mac/combobox_background_mac.cc
|
| @@ -31,12 +31,11 @@ void ComboboxBackgroundMac::Paint(gfx::Canvas* canvas, View* view) const {
|
| if (!combobox->enabled())
|
| state = ui::NativeTheme::kDisabled;
|
|
|
| - skia::RefPtr<SkShader> shader =
|
| + SkPaint paint;
|
| + paint.setShader(
|
| ui::NativeThemeMac::GetButtonBackgroundShader(
|
| state,
|
| - bounds.height());
|
| - SkPaint paint;
|
| - paint.setShader(shader.get());
|
| + bounds.height()));
|
| paint.setStyle(SkPaint::kFill_Style);
|
| paint.setAntiAlias(true);
|
|
|
|
|