Index: tools/skiaserve/urlhandlers/BatchBoundsHandler.cpp |
diff --git a/tools/skiaserve/urlhandlers/BatchBoundsHandler.cpp b/tools/skiaserve/urlhandlers/BatchBoundsHandler.cpp |
index b14db1924d5ab7b807ff44d6c2d1375dda3b72f5..3eb51d2f682c94df08f972105d1d7cd351dfbd03 100644 |
--- a/tools/skiaserve/urlhandlers/BatchBoundsHandler.cpp |
+++ b/tools/skiaserve/urlhandlers/BatchBoundsHandler.cpp |
@@ -32,6 +32,6 @@ int BatchBoundsHandler::handle(Request* request, MHD_Connection* connection, |
int enabled; |
sscanf(commands[1].c_str(), "%d", &enabled); |
- request->fDebugCanvas->setDrawGpuBatchBounds(enabled); |
+ request->fDebugCanvas->setDrawGpuBatchBounds(SkToBool(enabled)); |
return SendOK(connection); |
} |