diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 21:45:42 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 21:45:42 +0000 |
commit | 5d87c05ce71478dbed0be7e1e3ceb20d51252cb5 (patch) | |
tree | 164e2b5e89ed071751526dd75881e0ef4be73305 /skia | |
parent | a65fb5d3e021b61e41e7d7cc66469d1b8d814264 (diff) | |
download | chromium_src-5d87c05ce71478dbed0be7e1e3ceb20d51252cb5.zip chromium_src-5d87c05ce71478dbed0be7e1e3ceb20d51252cb5.tar.gz chromium_src-5d87c05ce71478dbed0be7e1e3ceb20d51252cb5.tar.bz2 |
[Landing for Jonathon Dixon] Tiny code simplification/optimization: remove unecessay temporary copy of SkMatrix.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/267112
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/bitmap_platform_device_win.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/skia/ext/bitmap_platform_device_win.cc b/skia/ext/bitmap_platform_device_win.cc index 646692d..edc5d69 100644 --- a/skia/ext/bitmap_platform_device_win.cc +++ b/skia/ext/bitmap_platform_device_win.cc @@ -160,9 +160,8 @@ void BitmapPlatformDevice::BitmapPlatformDeviceData::LoadConfig() { config_dirty_ = false; // Transform. - SkMatrix t(transform_); - LoadTransformToDC(hdc_, t); - LoadClippingRegionToDC(hdc_, clip_region_, t); + LoadTransformToDC(hdc_, transform_); + LoadClippingRegionToDC(hdc_, clip_region_, transform_); } // We use this static factory function instead of the regular constructor so |