Index: tools/skiaserve/urlhandlers/InfoHandler.cpp |
diff --git a/tools/skiaserve/urlhandlers/InfoHandler.cpp b/tools/skiaserve/urlhandlers/InfoHandler.cpp |
index 464bbb35e1b378fec3cd0581736ad300f2a5b3ec..9335458f5f7d716fc47155738f9408d1b061b7e9 100644 |
--- a/tools/skiaserve/urlhandlers/InfoHandler.cpp |
+++ b/tools/skiaserve/urlhandlers/InfoHandler.cpp |
@@ -37,6 +37,6 @@ int InfoHandler::handle(Request* request, MHD_Connection* connection, |
sscanf(commands[1].c_str(), "%d", &n); |
} |
- SkAutoTUnref<SkData> data(request->getJsonInfo(n)); |
- return SendData(connection, data, "application/json"); |
+ sk_sp<SkData> data(request->getJsonInfo(n)); |
+ return SendData(connection, data.get(), "application/json"); |
} |