diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 16:04:42 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-07 16:04:42 +0000 |
commit | eeb2fa46f8bf9ed00bf9f1516867af473a478183 (patch) | |
tree | 5d058a6e72f4f00bdf6eb3db23fd1f693686ab25 /views | |
parent | 2705f8cc2b42c972d227f266cf38de3c9c429274 (diff) | |
download | chromium_src-eeb2fa46f8bf9ed00bf9f1516867af473a478183.zip chromium_src-eeb2fa46f8bf9ed00bf9f1516867af473a478183.tar.gz chromium_src-eeb2fa46f8bf9ed00bf9f1516867af473a478183.tar.bz2 |
New visuals for notifications on Windows.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1980005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/painter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/painter.cc b/views/painter.cc index 8b90dfd..1c354da 100644 --- a/views/painter.cc +++ b/views/painter.cc @@ -123,7 +123,7 @@ class ImagePainter : public Painter { if (paint_center_) { canvas->DrawBitmapInt( image_, - insets_.top(), insets_.left(), + insets_.left(), insets_.top(), image_.width() - insets_.width(), image_.height() - insets_.height(), insets_.left(), insets_.top(), w - insets_.width(), h - insets_.height(), true); |