| 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 243e80876d61738a6c80286eb5212ca8f41a19a5..ae47905caf37bc5b4258b43a810806c4f89e4f11 100644
|
| --- a/skia/ext/vector_platform_device_emf_win.cc
|
| +++ b/skia/ext/vector_platform_device_emf_win.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/logging.h"
|
| #include "base/string16.h"
|
| #include "skia/ext/bitmap_platform_device.h"
|
| +#include "skia/ext/refptr.h"
|
| #include "skia/ext/skia_utils_win.h"
|
| #include "third_party/skia/include/core/SkFontHost.h"
|
| #include "third_party/skia/include/core/SkPathEffect.h"
|
| @@ -190,7 +191,7 @@ void VectorPlatformDeviceEmf::drawRect(const SkDraw& draw,
|
|
|
| // Removes the path effect from the temporary SkPaint object.
|
| SkPaint paint_no_effet(paint);
|
| - SkSafeUnref(paint_no_effet.setPathEffect(NULL));
|
| + paint_no_effet.setPathEffect(NULL);
|
|
|
| // Draw the calculated path.
|
| drawPath(draw, path_modified, paint_no_effet);
|
| @@ -224,7 +225,7 @@ void VectorPlatformDeviceEmf::drawPath(const SkDraw& draw,
|
|
|
| // Removes the path effect from the temporary SkPaint object.
|
| SkPaint paint_no_effet(paint);
|
| - SkSafeUnref(paint_no_effet.setPathEffect(NULL));
|
| + paint_no_effet.setPathEffect(NULL);
|
|
|
| // Draw the calculated path.
|
| drawPath(draw, path_modified, paint_no_effet);
|
|
|