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