Index: tests/QuickRejectTest.cpp |
diff --git a/tests/QuickRejectTest.cpp b/tests/QuickRejectTest.cpp |
index 8f4357e0b04fff392a702940735cf73664d2624f..77bcd3c9b174f78decba3cddaa0055ef2965b379 100644 |
--- a/tests/QuickRejectTest.cpp |
+++ b/tests/QuickRejectTest.cpp |
@@ -28,6 +28,8 @@ public: |
} |
#endif |
+ SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(TestLooper); |
+ |
private: |
class TestDrawLooperContext : public SkDrawLooper::Context { |
public: |
@@ -45,10 +47,10 @@ private: |
private: |
bool fOnce; |
}; |
- |
- SK_DECLARE_UNFLATTENABLE_OBJECT() |
}; |
+SkFlattenable* TestLooper::CreateProc(SkReadBuffer&) { return SkNEW(TestLooper); } |
+ |
static void test_drawBitmap(skiatest::Reporter* reporter) { |
SkBitmap src; |
src.allocN32Pixels(10, 10); |