Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index ead02c251ebbc8d9193c1173c2c99dee5dcead2f..9e45ce9b692ca25726d791e497567fe77dad41b9 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -24,7 +24,6 @@ |
#include "SkRandom.h" |
#include "SkRecordDraw.h" |
#include "SkRecorder.h" |
-#include "SkRemote.h" |
#include "SkSVGCanvas.h" |
#include "SkStream.h" |
#include "SkTLogic.h" |
@@ -1164,18 +1163,6 @@ Error ViaUpright::draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkSt |
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ |
-Error ViaRemote::draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const { |
- return draw_to_canvas(fSink, bitmap, stream, log, src.size(), [&](SkCanvas* target) { |
- SkAutoTDelete<SkRemote::Encoder> decoder(SkRemote::NewDecoder(target)); |
- SkAutoTDelete<SkRemote::Encoder> cache(fCache ? SkRemote::NewCachingEncoder(decoder) |
- : nullptr); |
- SkAutoTDelete<SkCanvas> canvas(SkRemote::NewCanvas(cache ? cache : decoder)); |
- return src.draw(canvas); |
- }); |
-} |
- |
-/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ |
- |
Error ViaSerialization::draw( |
const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const { |
// Record our Src into a picture. |