Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 2bf887c7f03411722e88b1ab93eb52331e93ddfe..c37f31c0cc4994c71bfbdbfe344f24f90c74409d 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -85,7 +85,7 @@ |
fCaps = SkRef(fGpu->caps()); |
fResourceCache = new GrResourceCache(fCaps); |
fResourceCache->setOverBudgetCallback(OverBudgetCB, this); |
- fResourceProvider = new GrResourceProvider(fGpu, fResourceCache); |
+ fResourceProvider = new GrResourceProvider(fGpu, fResourceCache, &fSingleOwner); |
fLayerCache.reset(new GrLayerCache(this)); |