Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: tools/skiaserve/urlhandlers/BatchBoundsHandler.cpp

Issue 1903203003: Get skiaserve working on Windows. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix ws2_32 dependency, build skiaserve w/most on windows Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/skiaserve/skiaserve.cpp ('k') | tools/skiaserve/urlhandlers/CmdHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « tools/skiaserve/skiaserve.cpp ('k') | tools/skiaserve/urlhandlers/CmdHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698