diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 00:13:01 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-16 00:13:01 +0000 |
commit | a8add2b949474a43d9852966b98c2774af060e1e (patch) | |
tree | e50a9987226f3d32b4ec8fbc188403ca67490792 /views/controls/button/menu_button.cc | |
parent | e118ff727561aa0472333ea0fef9ff3b9ed8c541 (diff) | |
download | chromium_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/button/menu_button.cc')
-rw-r--r-- | views/controls/button/menu_button.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc index 766b3dc..f88b106 100644 --- a/views/controls/button/menu_button.cc +++ b/views/controls/button/menu_button.cc @@ -88,7 +88,7 @@ void MenuButton::Paint(gfx::Canvas* canvas, bool for_drag) { gfx::Insets insets = GetInsets(); // We can not use the views' mirroring infrastructure for mirroring a - // MenuButton control (see TextButton::Paint() for a detailed explanation + // MenuButton control (see TextButton::OnPaint() for a detailed explanation // regarding why we can not flip the canvas). Therefore, we need to // manually mirror the position of the down arrow. gfx::Rect arrow_bounds(width() - insets.right() - |