Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: include/core/SkShader.h

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Adapting code to sk_once changes Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkRasterizer.h ('k') | include/core/SkUnitMapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkShader.h
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 74f611d3e53b2eabd84eb566ddd0059c71104020..11956ce0d2d187f8401b5224b7e12cd3cc80345e 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
« no previous file with comments | « include/core/SkRasterizer.h ('k') | include/core/SkUnitMapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698