Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 1c56be7d5aa03f72f0a1dc082bd594845fb35cb3..3a0eab020fd692a1a12a3f00ba987166075c701b 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -90,13 +90,18 @@ private: |
class CodecSrc : public Src { |
public: |
- explicit CodecSrc(Path path); |
+ enum Mode { |
+ kNormal_Mode, |
+ kScanline_Mode, |
+ }; |
+ CodecSrc(Path, Mode); |
Error draw(SkCanvas*) const SK_OVERRIDE; |
SkISize size() const SK_OVERRIDE; |
Name name() const SK_OVERRIDE; |
private: |
Path fPath; |
+ Mode fMode; |
}; |