| Index: tools/skiaserve/skiaserve.cpp
|
| diff --git a/tools/skiaserve/skiaserve.cpp b/tools/skiaserve/skiaserve.cpp
|
| index d493f7d92357b011ca63987386ce2d332f5bde6b..b593e7224f94dc058852df2929c3abba12b3f73d 100644
|
| --- a/tools/skiaserve/skiaserve.cpp
|
| +++ b/tools/skiaserve/skiaserve.cpp
|
| @@ -5,9 +5,6 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#include "GrCaps.h"
|
| -#include "GrContextFactory.h"
|
| -
|
| #include "Request.h"
|
| #include "Response.h"
|
|
|
| @@ -84,11 +81,6 @@ int answer_to_connection(void* cls, struct MHD_Connection* connection,
|
| int skiaserve_main() {
|
| Request request(SkString("/data")); // This simple server has one request
|
|
|
| - // create surface
|
| - GrContextOptions grContextOpts;
|
| - request.fContextFactory.reset(new GrContextFactory(grContextOpts));
|
| - request.fSurface.reset(request.createCPUSurface());
|
| -
|
| struct MHD_Daemon* daemon;
|
| // TODO Add option to bind this strictly to an address, e.g. localhost, for security.
|
| daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY, FLAGS_port, nullptr, nullptr,
|
|
|