Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: ui/app_list/views/speech_view.cc

Issue 342053003: Use OnPaint() to paint the content of IndicatorView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 926bec24ac9452040171afd0698abb3c897abd2d..976da57056930dad80c99630125ebf3508a3607c 100644
--- a/ui/app_list/views/speech_view.cc
+++ b/ui/app_list/views/speech_view.cc
@@ -53,8 +53,7 @@ class SoundLevelIndicator : public views::View {
private:
// Overridden from views::View:
- virtual void Paint(gfx::Canvas* canvas,
- const views::CullSet& cull_set) OVERRIDE;
+ virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(SoundLevelIndicator);
};
@@ -63,8 +62,7 @@ SoundLevelIndicator::SoundLevelIndicator() {}
SoundLevelIndicator::~SoundLevelIndicator() {}
-void SoundLevelIndicator::Paint(gfx::Canvas* canvas,
- const views::CullSet& cull_set) {
+void SoundLevelIndicator::OnPaint(gfx::Canvas* canvas) {
SkPaint paint;
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(kSoundLevelIndicatorColor);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698