Index: tools/skiaserve/urlhandlers/BatchesHandler.cpp |
diff --git a/tools/skiaserve/urlhandlers/BatchesHandler.cpp b/tools/skiaserve/urlhandlers/BatchesHandler.cpp |
index b245c4d8f36f3415916228e0aa1d28beaba1958b..81457acca46e03c62b9941c95ad42dbcec15c5c4 100644 |
--- a/tools/skiaserve/urlhandlers/BatchesHandler.cpp |
+++ b/tools/skiaserve/urlhandlers/BatchesHandler.cpp |
@@ -32,8 +32,8 @@ int BatchesHandler::handle(Request* request, MHD_Connection* connection, |
if (0 == strcmp(method, MHD_HTTP_METHOD_GET)) { |
int n = request->getLastOp(); |
- SkAutoTUnref<SkData> data(request->getJsonBatchList(n)); |
- return SendData(connection, data, "application/json"); |
+ sk_sp<SkData> data(request->getJsonBatchList(n)); |
+ return SendData(connection, data.get(), "application/json"); |
} |
return MHD_NO; |