| Index: ui/app_list/views/speech_view.cc
|
| diff --git a/ui/app_list/views/speech_view.cc b/ui/app_list/views/speech_view.cc
|
| index 7cb354aa659e896967d3684180000718a9501ffb..b8fa7f551faf96451e121bc16cc2e3cca68cd883 100644
|
| --- a/ui/app_list/views/speech_view.cc
|
| +++ b/ui/app_list/views/speech_view.cc
|
| @@ -67,11 +67,11 @@ SoundLevelIndicator::SoundLevelIndicator() {}
|
| SoundLevelIndicator::~SoundLevelIndicator() {}
|
|
|
| void SoundLevelIndicator::OnPaint(gfx::Canvas* canvas) {
|
| - SkPaint paint;
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| - paint.setColor(kSoundLevelIndicatorColor);
|
| - paint.setAntiAlias(true);
|
| - canvas->DrawCircle(bounds().CenterPoint(), width() / 2, paint);
|
| + cc::PaintFlags flags;
|
| + flags.setStyle(cc::PaintFlags::kFill_Style);
|
| + flags.setColor(kSoundLevelIndicatorColor);
|
| + flags.setAntiAlias(true);
|
| + canvas->DrawCircle(bounds().CenterPoint(), width() / 2, flags);
|
| }
|
|
|
| // MicButton is an image button with a circular hit test mask.
|
|
|