Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index 28e41af5f040f0eeb6281bde4fb968865ea919aa..a9fd41ed5ad95a1fe252c49515b92c4184e2c865 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -148,7 +148,7 @@ GrGpuGL::GrGpuGL(const GrGLContext& ctx, GrContext* context) |
ctx.info().caps()->print(); |
} |
- fProgramCache = SkNEW_ARGS(ProgramCache, (this->glContext())); |
+ fProgramCache = SkNEW_ARGS(ProgramCache, (this)); |
SkASSERT(this->glCaps().maxVertexAttributes() >= GrDrawState::kMaxVertexAttribCnt); |