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