aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skiaserve
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skiaserve')
-rw-r--r--tools/skiaserve/Request.cpp2
-rw-r--r--tools/skiaserve/urlhandlers/OpBoundsHandler.cpp2
-rw-r--r--tools/skiaserve/urlhandlers/OpsHandler.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/skiaserve/Request.cpp b/tools/skiaserve/Request.cpp
index 0e55d926aa..ff8849ad96 100644
--- a/tools/skiaserve/Request.cpp
+++ b/tools/skiaserve/Request.cpp
@@ -259,7 +259,7 @@ sk_sp<SkData> Request::getJsonOps(int n) {
SkCanvas* canvas = this->getCanvas();
Json::Value root = fDebugCanvas->toJSON(fUrlDataManager, n, canvas);
root["mode"] = Json::Value(fGPUEnabled ? "gpu" : "cpu");
- root["drawGpuBatchBounds"] = Json::Value(fDebugCanvas->getDrawGpuOpBounds());
+ root["drawGpuOpBounds"] = Json::Value(fDebugCanvas->getDrawGpuOpBounds());
root["colorMode"] = Json::Value(fColorMode);
SkDynamicMemoryWStream stream;
stream.writeText(Json::FastWriter().write(root).c_str());
diff --git a/tools/skiaserve/urlhandlers/OpBoundsHandler.cpp b/tools/skiaserve/urlhandlers/OpBoundsHandler.cpp
index f0e9758b63..e9a120f68c 100644
--- a/tools/skiaserve/urlhandlers/OpBoundsHandler.cpp
+++ b/tools/skiaserve/urlhandlers/OpBoundsHandler.cpp
@@ -14,7 +14,7 @@
using namespace Response;
bool OpBoundsHandler::canHandle(const char* method, const char* url) {
- static const char* kBasePath = "/batchBounds/";
+ static const char* kBasePath = "/gpuOpBounds/";
return 0 == strcmp(method, MHD_HTTP_METHOD_POST) &&
0 == strncmp(url, kBasePath, strlen(kBasePath));
}
diff --git a/tools/skiaserve/urlhandlers/OpsHandler.cpp b/tools/skiaserve/urlhandlers/OpsHandler.cpp
index a44e594c6b..852c526bce 100644
--- a/tools/skiaserve/urlhandlers/OpsHandler.cpp
+++ b/tools/skiaserve/urlhandlers/OpsHandler.cpp
@@ -14,7 +14,7 @@
using namespace Response;
bool OpsHandler::canHandle(const char* method, const char* url) {
- const char* kBasePath = "/batches";
+ const char* kBasePath = "/ops";
return 0 == strncmp(url, kBasePath, strlen(kBasePath));
}
@@ -27,7 +27,7 @@ int OpsHandler::handle(Request* request, MHD_Connection* connection, const char*
return MHD_NO;
}
- // /batches
+ // /ops
if (0 == strcmp(method, MHD_HTTP_METHOD_GET)) {
int n = request->getLastOp();