Index: tools/skiaserve/Request.cpp |
diff --git a/tools/skiaserve/Request.cpp b/tools/skiaserve/Request.cpp |
index 1d946abaa03ebe8af912a9115d1bb5c0de0815a2..d9e1bdaa3316353a28d88792b5c75cf0771914b3 100644 |
--- a/tools/skiaserve/Request.cpp |
+++ b/tools/skiaserve/Request.cpp |
@@ -10,6 +10,8 @@ |
#include "SkPictureRecorder.h" |
#include "SkPixelSerializer.h" |
+using namespace sk_gpu_test; |
+ |
static int kDefaultWidth = 1920; |
static int kDefaultHeight = 1080; |
@@ -63,8 +65,8 @@ SkData* Request::writeCanvasToPng(SkCanvas* canvas) { |
SkCanvas* Request::getCanvas() { |
#if SK_SUPPORT_GPU |
GrContextFactory* factory = fContextFactory; |
- SkGLContext* gl = factory->getContextInfo(GrContextFactory::kNative_GLContextType, |
- GrContextFactory::kNone_GLContextOptions).fGLContext; |
+ GLContext* gl = factory->getContextInfo(GrContextFactory::kNative_GLContextType, |
+ GrContextFactory::kNone_GLContextOptions).fGLContext; |
gl->makeCurrent(); |
#endif |
SkASSERT(fDebugCanvas); |