diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-23 17:06:21 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-23 17:06:21 +0000 |
commit | c0b7e10c6a68f59e1653e6c18e6bc954b3c3f0cf (patch) | |
tree | 6a0bb372e8e3dfe22909629962e95d9c11ece4a9 /include/core/SkPathEffect.h | |
parent | 759befb72c558202de65a480c44d7b27428ec312 (diff) |
Initial error handling code
I made it as simple as possible. The impact seems minimal and it should do what's necessary to make this code secure.
BUG=
Committed: http://code.google.com/p/skia/source/detail?r=11247
R=reed@google.com, scroggo@google.com, djsollen@google.com, sugoi@google.com, bsalomon@google.com, mtklein@google.com, senorblanco@google.com, senorblanco@chromium.org
Author: sugoi@chromium.org
Review URL: https://codereview.chromium.org/23021015
git-svn-id: http://skia.googlecode.com/svn/trunk@11922 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPathEffect.h')
-rw-r--r-- | include/core/SkPathEffect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h index 3b4541de56..ed6d93b765 100644 --- a/include/core/SkPathEffect.h +++ b/include/core/SkPathEffect.h @@ -106,6 +106,8 @@ public: const SkStrokeRec&, const SkMatrix&, const SkRect* cullR) const; + SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect) + protected: SkPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} |