Index: tests/ImageGeneratorTest.cpp |
diff --git a/tests/ImageGeneratorTest.cpp b/tests/ImageGeneratorTest.cpp |
index 1f960ea9e97e5be0c20d801cfc290de8d8ec9bd9..94867bc945f446be34abfdd1fdd2641b633bcdfd 100644 |
--- a/tests/ImageGeneratorTest.cpp |
+++ b/tests/ImageGeneratorTest.cpp |
@@ -8,8 +8,13 @@ |
#include "SkImageGenerator.h" |
#include "Test.h" |
+class MyImageGenerator : public SkImageGenerator { |
+public: |
+ MyImageGenerator() : SkImageGenerator(SkImageInfo::MakeN32Premul(0, 0)) {} |
+}; |
+ |
DEF_TEST(ImageGenerator, reporter) { |
- SkImageGenerator ig; |
+ MyImageGenerator ig; |
SkISize sizes[3]; |
sizes[0] = SkISize::Make(200, 200); |
sizes[1] = SkISize::Make(100, 100); |