summaryrefslogtreecommitdiffstats
path: root/views/painter.h
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 22:53:07 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 22:53:07 +0000
commitebc3c8bdb77ce5926e0bb6961851d9e3546f7274 (patch)
treecc79ff43b5cfaaff764187948da4026dc309f70b /views/painter.h
parent698601ed9a0a452c6cc7761d74c06afb1226ac86 (diff)
downloadchromium_src-ebc3c8bdb77ce5926e0bb6961851d9e3546f7274.zip
chromium_src-ebc3c8bdb77ce5926e0bb6961851d9e3546f7274.tar.gz
chromium_src-ebc3c8bdb77ce5926e0bb6961851d9e3546f7274.tar.bz2
Re-enable the paint_center option in ImagePainter.
This was lost when ImagePainter was refactored as part of the fix to http://crbug.com/23261. BUG=none TEST=none Review URL: http://codereview.chromium.org/300019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/painter.h')
-rw-r--r--views/painter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/painter.h b/views/painter.h
index 40e5db3..a237461 100644
--- a/views/painter.h
+++ b/views/painter.h
@@ -37,7 +37,8 @@ class Painter {
// destination size.
// Ownership is passed to the caller.
static Painter* CreateImagePainter(const SkBitmap& image,
- const gfx::Insets& insets);
+ const gfx::Insets& insets,
+ bool paint_center);
virtual ~Painter() {}