diff options
Diffstat (limited to 'include/effects/SkGroupShape.h')
-rw-r--r-- | include/effects/SkGroupShape.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/effects/SkGroupShape.h b/include/effects/SkGroupShape.h index 58ebeccf9e..2c851fac66 100644 --- a/include/effects/SkGroupShape.h +++ b/include/effects/SkGroupShape.h @@ -128,6 +128,9 @@ public: virtual Factory getFactory(); virtual void flatten(SkFlattenableWriteBuffer&); + // public for Registrar + static SkFlattenable* CreateProc(SkFlattenableReadBuffer&); + protected: // overrides virtual void onDraw(SkCanvas*); @@ -141,8 +144,6 @@ private: }; SkTDArray<Rec> fList; - static SkFlattenable* CreateProc(SkFlattenableReadBuffer&); - typedef SkShape INHERITED; }; |