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

Unified Diff: tools/skiaserve/urlhandlers/CmdHandler.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
Index: tools/skiaserve/urlhandlers/CmdHandler.cpp
diff --git a/tools/skiaserve/urlhandlers/CmdHandler.cpp b/tools/skiaserve/urlhandlers/CmdHandler.cpp
index 09fdc171053bd9a0546c3d947f10652948b59774..22877e781020aafd619ea42ed7b9af36d52c1dda 100644
--- a/tools/skiaserve/urlhandlers/CmdHandler.cpp
+++ b/tools/skiaserve/urlhandlers/CmdHandler.cpp
@@ -54,7 +54,7 @@ int CmdHandler::handle(Request* request, MHD_Connection* connection,
int n, toggle;
sscanf(commands[1].c_str(), "%d", &n);
sscanf(commands[2].c_str(), "%d", &toggle);
- request->fDebugCanvas->toggleCommand(n, toggle);
+ request->fDebugCanvas->toggleCommand(n, SkToBool(toggle));
return SendOK(connection);
}
« no previous file with comments | « tools/skiaserve/urlhandlers/BatchBoundsHandler.cpp ('k') | tools/skiaserve/urlhandlers/EnableGPUHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698