summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/bitmap_platform_device_win.cc5
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