diff options
author | mtklein <mtklein@chromium.org> | 2015-05-06 11:35:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-06 11:35:40 -0700 |
commit | 6fbf4b3a7f0a3304649c482ab0a911dc147a6825 (patch) | |
tree | 3c77652799deacbe4dc675b9668676a5a642576c /dm/DMSrcSink.h | |
parent | bc4696b9176e05940a7c2d6778276cdbc55ccd61 (diff) |
Do we still need this DOUBLE_LOOP feature?
If so, let's do it this way so it works for all source types and doesn't need
to be chosen at compile time.
BUG=skia:
Review URL: https://codereview.chromium.org/1129693003
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r-- | dm/DMSrcSink.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h index 903755eb7e..0537e262a3 100644 --- a/dm/DMSrcSink.h +++ b/dm/DMSrcSink.h @@ -278,6 +278,12 @@ public: Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; }; +class ViaTwice : public Via { +public: + explicit ViaTwice(Sink* sink) : Via(sink) {} + Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; +}; + } // namespace DM #endif//DMSrcSink_DEFINED |