Index: tests/RecorderTest.cpp |
diff --git a/tests/RecorderTest.cpp b/tests/RecorderTest.cpp |
index 9d7fda5483d5b026b4bd0aaa3d7a5f8fd0da3cc7..b4bc58dddde0333d8c081d4fc71bdb5dc026fb74 100644 |
--- a/tests/RecorderTest.cpp |
+++ b/tests/RecorderTest.cpp |
@@ -58,7 +58,7 @@ |
SkRect bounds = SkRect::MakeWH(320, 240); |
SkPaint paint; |
- paint.setShader(SkShader::MakeEmptyShader()); |
+ paint.setShader(SkShader::CreateEmptyShader())->unref(); |
REPORTER_ASSERT(r, paint.getShader()->unique()); |
{ |