| Index: skia/ext/vector_platform_device_emf_win.cc
|
| diff --git a/skia/ext/vector_platform_device_emf_win.cc b/skia/ext/vector_platform_device_emf_win.cc
|
| index e644e874e5fdc6c58897bf50f571b9986ca5042e..ae1a0b201b2b7b7b7ec4c1dadb64127862d12671 100644
|
| --- a/skia/ext/vector_platform_device_emf_win.cc
|
| +++ b/skia/ext/vector_platform_device_emf_win.cc
|
| @@ -97,8 +97,7 @@ VectorPlatformDeviceEmf::VectorPlatformDeviceEmf(HDC dc, const SkBitmap& bitmap)
|
| : SkDevice(bitmap),
|
| hdc_(dc),
|
| previous_brush_(NULL),
|
| - previous_pen_(NULL),
|
| - alpha_blend_used_(false) {
|
| + previous_pen_(NULL) {
|
| transform_.reset();
|
| SetPlatformDevice(this, this);
|
| }
|
| @@ -849,8 +848,6 @@ void VectorPlatformDeviceEmf::InternalDrawBitmap(const SkBitmap& bitmap,
|
| result = SetStretchBltMode(dc, previous_mode);
|
| SkASSERT(result);
|
|
|
| - alpha_blend_used_ = true;
|
| -
|
| ::SelectObject(bitmap_dc, static_cast<HBITMAP>(old_bitmap));
|
| DeleteObject(hbitmap);
|
| DeleteDC(bitmap_dc);
|
|
|