Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index d59d2e8d40bffedcfb688997a067f4daf476a5fc..cdef414535b4ce9e4833bc17f4e2b8f9323b5d7b 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -130,7 +130,7 @@ bool GrContext::init(GrBackend backend, GrBackendContext backendContext) { |
fFontCache = SkNEW_ARGS(GrFontCache, (fGpu)); |
- fLayerCache.reset(SkNEW_ARGS(GrLayerCache, (fGpu))); |
+ fLayerCache.reset(SkNEW_ARGS(GrLayerCache, (this))); |
fLastDrawWasBuffered = kNo_BufferedDraw; |