aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkDiscretePathEffect.h
diff options
context:
space:
mode:
authorGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-26 17:57:35 +0000
committerGravatar djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-26 17:57:35 +0000
commitba28d03e94dc221d6a803bf2a84a420b9159255c (patch)
tree1130187c2342abd92cc0782e724ad57fc551872a /include/effects/SkDiscretePathEffect.h
parentd43b0a87f85ca26ec771e094c62df33b0537b563 (diff)
Create macro for registering classes for deserialization
Review URL: https://codereview.appspot.com/5909063 git-svn-id: http://skia.googlecode.com/svn/trunk@3494 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects/SkDiscretePathEffect.h')
-rw-r--r--include/effects/SkDiscretePathEffect.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h
index 02ef391086..76a35237a6 100644
--- a/include/effects/SkDiscretePathEffect.h
+++ b/include/effects/SkDiscretePathEffect.h
@@ -30,11 +30,8 @@ public:
// overrides for SkFlattenable
// This method is not exported to java.
- virtual Factory getFactory();
- // This method is not exported to java.
virtual void flatten(SkFlattenableWriteBuffer&);
-
- static SkFlattenable* CreateProc(SkFlattenableReadBuffer&);
+ SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDiscretePathEffect)
protected:
SkDiscretePathEffect(SkFlattenableReadBuffer&);