summaryrefslogtreecommitdiffstats
path: root/gfx/native_theme_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/native_theme_win.cc')
-rw-r--r--gfx/native_theme_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/native_theme_win.cc b/gfx/native_theme_win.cc
index 6b4a545..5ee77f9 100644
--- a/gfx/native_theme_win.cc
+++ b/gfx/native_theme_win.cc
@@ -45,7 +45,7 @@ void SetCheckerboardShader(SkPaint* paint, const RECT& align_rect) {
matrix.setTranslate(SkIntToScalar(align_rect.left),
SkIntToScalar(align_rect.top));
shader->setLocalMatrix(matrix);
- paint->setShader(shader)->safeUnref();
+ SkSafeUnref(paint->setShader(shader));
}
} // namespace