diff options
Diffstat (limited to 'tests/QuickRejectTest.cpp')
-rw-r--r-- | tests/QuickRejectTest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/QuickRejectTest.cpp b/tests/QuickRejectTest.cpp index 8f4357e0b0..77bcd3c9b1 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); |