aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2016-11-03 15:43:44 -0400
committerGravatar Ben Wagner <bungeman@google.com>2016-11-03 19:45:29 +0000
commit12e8dc256dc521c3b1f465726b99fbce3b95728c (patch)
tree34c346c42e199111dbbfedb0a69c58c69f5f33bb /dm
parent7d3028818ec1b6a653da45387ddf0fa01888cdda (diff)
Fix iOS and Angle builds.
"Remove SkAutoTDelete." did not run trybots on these specific bots. Change-Id: Ibfa731df387a90a78187b88c75483800981a691c Reviewed-on: https://skia-review.googlesource.com/4387 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'dm')
-rw-r--r--dm/DMSrcSink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp
index ae7c6a15bd..dd54f00e2b 100644
--- a/dm/DMSrcSink.cpp
+++ b/dm/DMSrcSink.cpp
@@ -1375,7 +1375,7 @@ Error SVGSink::draw(const Src& src, SkBitmap*, SkWStream* dst, SkString*) const
std::unique_ptr<SkXMLWriter> xmlWriter(new SkXMLStreamWriter(dst));
SkAutoTUnref<SkCanvas> canvas(SkSVGCanvas::Create(
SkRect::MakeWH(SkIntToScalar(src.size().width()), SkIntToScalar(src.size().height())),
- xmlWriter));
+ xmlWriter.get()));
return src.draw(canvas);
#else
return Error("SVG sink is disabled.");