diff options
author | 2013-10-23 17:06:21 +0000 | |
---|---|---|
committer | 2013-10-23 17:06:21 +0000 | |
commit | c0b7e10c6a68f59e1653e6c18e6bc954b3c3f0cf (patch) | |
tree | 6a0bb372e8e3dfe22909629962e95d9c11ece4a9 /include/core/SkShader.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/SkShader.h')
-rw-r--r-- | include/core/SkShader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h index 74f611d3e5..11956ce0d2 100644 --- a/include/core/SkShader.h +++ b/include/core/SkShader.h @@ -344,6 +344,8 @@ public: SkDEVCODE(virtual void toString(SkString* str) const;) + SK_DEFINE_FLATTENABLE_TYPE(SkShader) + protected: enum MatrixClass { kLinear_MatrixClass, // no perspective |