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

Unified Diff: include/core/SkUnitMapper.h

Issue 23021015: Initial error handling code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Integrating readFoo 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
Index: include/core/SkUnitMapper.h
diff --git a/include/core/SkUnitMapper.h b/include/core/SkUnitMapper.h
index 754be26841353e227f3dcad7f3bb93b4e288ad76..e377996e192db264c131f858acf2c4a97e4a437f 100644
--- a/include/core/SkUnitMapper.h
+++ b/include/core/SkUnitMapper.h
@@ -25,6 +25,8 @@ public:
*/
virtual uint16_t mapUnit16(uint16_t x) = 0;
+ SK_DEFINE_FLATTENABLE_EFFECT_TYPE(UnitMapper)
+
protected:
SkUnitMapper(SkFlattenableReadBuffer& rb) : SkFlattenable(rb) {}

Powered by Google App Engine
This is Rietveld 408576698