Index: tests/GradientTest.cpp |
diff --git a/tests/GradientTest.cpp b/tests/GradientTest.cpp |
index 3b09f857b3cc765dd7aa3057d7d2cd5f9e2aabd6..e6fd7b99fdc4680a36861c2477827643dc640e19 100644 |
--- a/tests/GradientTest.cpp |
+++ b/tests/GradientTest.cpp |
@@ -7,7 +7,6 @@ |
#include "SkCanvas.h" |
#include "SkColorShader.h" |
-#include "SkEmptyShader.h" |
#include "SkGradientShader.h" |
#include "SkShader.h" |
#include "SkTemplates.h" |
@@ -43,7 +42,7 @@ struct GradRec { |
static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) { |
- SkAutoTUnref<SkShader> s(new SkEmptyShader); |
+ SkAutoTUnref<SkShader> s(SkShader::CreateEmptyShader()); |
REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(NULL)); |
} |