Index: dm/DMSrcSink.h |
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h |
index 0807cb664454e173cfc3cc3d5848d2aac5f85d7d..ea5572a7b906ff964c569d04b8afe4312cfc76db 100644 |
--- a/dm/DMSrcSink.h |
+++ b/dm/DMSrcSink.h |
@@ -249,6 +249,17 @@ private: |
SkAutoTDelete<Sink> fSink; |
}; |
+class ViaDeferred : public Sink { |
+public: |
+ explicit ViaDeferred(Sink*); |
+ |
+ Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; |
+ int enclave() const override { return fSink->enclave(); } |
+ const char* fileExtension() const override { return fSink->fileExtension(); } |
+private: |
+ SkAutoTDelete<Sink> fSink; |
+}; |
+ |
class ViaSerialization : public Sink { |
public: |
explicit ViaSerialization(Sink*); |