Index: tools/skiaserve/urlhandlers/ImgHandler.cpp |
diff --git a/tools/skiaserve/urlhandlers/ImgHandler.cpp b/tools/skiaserve/urlhandlers/ImgHandler.cpp |
index 68828267fbdf6a44384c0f3f4b4765ac60a81e95..3e390fe8325ae644426d395b63c643581851d140 100644 |
--- a/tools/skiaserve/urlhandlers/ImgHandler.cpp |
+++ b/tools/skiaserve/urlhandlers/ImgHandler.cpp |
@@ -25,7 +25,7 @@ int ImgHandler::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; |
} |