From 5d87c05ce71478dbed0be7e1e3ceb20d51252cb5 Mon Sep 17 00:00:00 2001 From: "senorblanco@chromium.org" Date: Fri, 16 Oct 2009 21:45:42 +0000 Subject: [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 --- skia/ext/bitmap_platform_device_win.cc | 5 ++--- 1 file 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 -- cgit v1.1