Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 0987cb7cfe1575d9c0a83bb3f5f2662a0c8b1fbc..99483ebd99003f3f0bea47792080174217f02c4d 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -172,7 +172,7 @@ struct GPUTarget : public Target { |
this->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(this->config.ctxType), |
SkSurface::kNo_Budgeted, info, |
this->config.samples, &props)); |
- this->gl = gGrFactory->getGLContext(this->config.ctxType); |
+ this->gl = gGrFactory->getContextInfo(this->config.ctxType)->fGLContext; |
if (!this->surface.get()) { |
return false; |
} |