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

Unified Diff: tools/skiaserve/urlhandlers/SRGBModeHandler.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/urlhandlers/EnableGPUHandler.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skiaserve/urlhandlers/SRGBModeHandler.cpp
diff --git a/tools/skiaserve/urlhandlers/SRGBModeHandler.cpp b/tools/skiaserve/urlhandlers/SRGBModeHandler.cpp
index df06050b90c2cf56a86eef5ef97ecfcc5dc9dcea..1dd9789191eb523279555cf3174affba93196ef7 100644
--- a/tools/skiaserve/urlhandlers/SRGBModeHandler.cpp
+++ b/tools/skiaserve/urlhandlers/SRGBModeHandler.cpp
@@ -34,7 +34,7 @@ int SRGBModeHandler::handle(Request* request, MHD_Connection* connection,
return MHD_NO;
}
- bool success = request->setSRGBMode(enable);
+ bool success = request->setSRGBMode(SkToBool(enable));
if (!success) {
return SendError(connection, "Unable to set requested mode");
}
« no previous file with comments | « tools/skiaserve/urlhandlers/EnableGPUHandler.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698