diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-29 22:08:44 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-29 22:08:44 +0000 |
commit | bd026803b2a3db66f2003f83c4b7e627c71828a2 (patch) | |
tree | e45b18ae05095ffae9201fe8ec905bf1fef25e50 /chrome/browser/views/frame/browser_view.cc | |
parent | 6a649b71db4df80493abfb125e0a71738d4d9d8a (diff) | |
download | chromium_src-bd026803b2a3db66f2003f83c4b7e627c71828a2.zip chromium_src-bd026803b2a3db66f2003f83c4b7e627c71828a2.tar.gz chromium_src-bd026803b2a3db66f2003f83c4b7e627c71828a2.tar.bz2 |
Canvas refactoring Phase 4a:
Move Save, SaveLayerAlpha and Restore onto gfx::Canvas.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2846035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51179 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame/browser_view.cc')
-rw-r--r-- | chrome/browser/views/frame/browser_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc index 2686a61..774eb73 100644 --- a/chrome/browser/views/frame/browser_view.cc +++ b/chrome/browser/views/frame/browser_view.cc @@ -220,12 +220,12 @@ class ResizeCorner : public views::View { if (rtl_dir) { canvas->TranslateInt(width(), 0); canvas->ScaleInt(-1, 1); - canvas->AsCanvasSkia()->save(); + canvas->Save(); } canvas->DrawBitmapInt(*bitmap, width() - bitmap->width(), height() - bitmap->height()); if (rtl_dir) - canvas->AsCanvasSkia()->restore(); + canvas->Restore(); } static gfx::Size GetSize() { |