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

Unified Diff: tools/skiaserve/urlhandlers/DataHandler.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/ClipAlphaHandler.cpp ('k') | tools/skiaserve/urlhandlers/DownloadHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skiaserve/urlhandlers/DataHandler.cpp
diff --git a/tools/skiaserve/urlhandlers/DataHandler.cpp b/tools/skiaserve/urlhandlers/DataHandler.cpp
index adad99971f304954e036283a26274515655355b6..0c94530c5dec720f571e82b81dfb8f0d8d90dd21 100644
--- a/tools/skiaserve/urlhandlers/DataHandler.cpp
+++ b/tools/skiaserve/urlhandlers/DataHandler.cpp
@@ -25,7 +25,7 @@ int DataHandler::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/ClipAlphaHandler.cpp ('k') | tools/skiaserve/urlhandlers/DownloadHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698