| 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..6d8fbee3b083b9ca733f16ca90caea18cfe9e5ac 100644
|
| --- a/skia/ext/vector_platform_device_emf_win.cc
|
| +++ b/skia/ext/vector_platform_device_emf_win.cc
|
| @@ -190,7 +190,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 +224,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);
|
|
|