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

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

Issue 1741043003: A bit more privacy for SkiaServe's Request (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 10 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/BreakHandler.cpp ('k') | tools/skiaserve/urlhandlers/DataHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skiaserve/urlhandlers/ClipAlphaHandler.cpp
diff --git a/tools/skiaserve/urlhandlers/ClipAlphaHandler.cpp b/tools/skiaserve/urlhandlers/ClipAlphaHandler.cpp
index 4d66fc9958a6613d0bf0eb381cef9e8b6d4a80e5..4ab5096a1b703dbb3612efb9235646a33789722b 100644
--- a/tools/skiaserve/urlhandlers/ClipAlphaHandler.cpp
+++ b/tools/skiaserve/urlhandlers/ClipAlphaHandler.cpp
@@ -25,7 +25,7 @@ int ClipAlphaHandler::handle(Request* request, MHD_Connection* connection,
SkTArray<SkString> commands;
SkStrSplit(url, "/", &commands);
- if (!request->fPicture.get() || commands.count() != 2) {
+ if (!request->hasPicture() || commands.count() != 2) {
return MHD_NO;
}
« no previous file with comments | « tools/skiaserve/urlhandlers/BreakHandler.cpp ('k') | tools/skiaserve/urlhandlers/DataHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698