summaryrefslogtreecommitdiffstats
path: root/views/controls/image_view.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 00:13:01 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 00:13:01 +0000
commita8add2b949474a43d9852966b98c2774af060e1e (patch)
treee50a9987226f3d32b4ec8fbc188403ca67490792 /views/controls/image_view.cc
parente118ff727561aa0472333ea0fef9ff3b9ed8c541 (diff)
downloadchromium_src-a8add2b949474a43d9852966b98c2774af060e1e.zip
chromium_src-a8add2b949474a43d9852966b98c2774af060e1e.tar.gz
chromium_src-a8add2b949474a43d9852966b98c2774af060e1e.tar.bz2
Rename Paint* -> OnPaint*
http://crbug.com/72040 TEST=none TBR=sky Review URL: http://codereview.chromium.org/6499030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/image_view.cc')
-rw-r--r--views/controls/image_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/image_view.cc b/views/controls/image_view.cc
index c9506b1..7f05e97 100644
--- a/views/controls/image_view.cc
+++ b/views/controls/image_view.cc
@@ -103,8 +103,8 @@ gfx::Point ImageView::ComputeImageOrigin(const gfx::Size& image_size) const {
return gfx::Point(x, y);
}
-void ImageView::Paint(gfx::Canvas* canvas) {
- View::Paint(canvas);
+void ImageView::OnPaint(gfx::Canvas* canvas) {
+ View::OnPaint(canvas);
if (image_.empty())
return;