Index: tools/skiaserve/urlhandlers/DownloadHandler.cpp |
diff --git a/tools/skiaserve/urlhandlers/DownloadHandler.cpp b/tools/skiaserve/urlhandlers/DownloadHandler.cpp |
index 4e2391588b2fe2746edc1661a87f19f6e2f87945..17bf867485e369aa133cd331dadb6ba4cc3b1bad 100644 |
--- a/tools/skiaserve/urlhandlers/DownloadHandler.cpp |
+++ b/tools/skiaserve/urlhandlers/DownloadHandler.cpp |
@@ -25,9 +25,9 @@ int DownloadHandler::handle(Request* request, MHD_Connection* connection, |
return MHD_NO; |
} |
- SkAutoTUnref<SkData> data(request->writeOutSkp()); |
+ sk_sp<SkData> data(request->writeOutSkp()); |
// TODO fancier name handling |
- return SendData(connection, data, "application/octet-stream", true, |
+ return SendData(connection, data.get(), "application/octet-stream", true, |
"attachment; filename=something.skp;"); |
} |