summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/touch/tabs/touch_tab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/touch/tabs/touch_tab.cc')
-rw-r--r--chrome/browser/ui/touch/tabs/touch_tab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/touch/tabs/touch_tab.cc b/chrome/browser/ui/touch/tabs/touch_tab.cc
index d9d8d95..69be10d 100644
--- a/chrome/browser/ui/touch/tabs/touch_tab.cc
+++ b/chrome/browser/ui/touch/tabs/touch_tab.cc
@@ -56,7 +56,7 @@ const gfx::Rect& TouchTab::GetIconBounds() const {
////////////////////////////////////////////////////////////////////////////////
// TouchTab, views::View overrides:
-void TouchTab::Paint(gfx::Canvas* canvas) {
+void TouchTab::OnPaint(gfx::Canvas* canvas) {
// Don't paint if we're narrower than we can render correctly. (This should
// only happen during animations).
if (width() < GetMinimumUnselectedSize().width() && !data().mini)