Index: tools/skiaserve/urlhandlers/CmdHandler.cpp |
diff --git a/tools/skiaserve/urlhandlers/CmdHandler.cpp b/tools/skiaserve/urlhandlers/CmdHandler.cpp |
index 22877e781020aafd619ea42ed7b9af36d52c1dda..c8ec82d22b898405cd312ef54d5b52442ef2ecbb 100644 |
--- a/tools/skiaserve/urlhandlers/CmdHandler.cpp |
+++ b/tools/skiaserve/urlhandlers/CmdHandler.cpp |
@@ -37,8 +37,8 @@ int CmdHandler::handle(Request* request, MHD_Connection* connection, |
sscanf(commands[1].c_str(), "%d", &n); |
} |
- SkAutoTUnref<SkData> data(request->getJsonOps(n)); |
- return SendData(connection, data, "application/json"); |
+ sk_sp<SkData> data(request->getJsonOps(n)); |
+ return SendData(connection, data.get(), "application/json"); |
} |
// /cmd/N, for now only delete supported |