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; |
} |