Index: src/gpu/GrClipMaskCache.cpp |
diff --git a/src/gpu/GrClipMaskCache.cpp b/src/gpu/GrClipMaskCache.cpp |
index 470cc4a2561d2afc580b1d697b009e7c0e5f2afd..a21eab78d7f82969dcfc0dbea52b73cd69c9f591 100644 |
--- a/src/gpu/GrClipMaskCache.cpp |
+++ b/src/gpu/GrClipMaskCache.cpp |
@@ -8,9 +8,9 @@ |
#include "GrClipMaskCache.h" |
-GrClipMaskCache::GrClipMaskCache() |
- : fContext(NULL) |
- , fStack(sizeof(GrClipStackFrame)) { |
+GrClipMaskCache::GrClipMaskCache(GrResourceProvider* resourceProvider) |
+ : fStack(sizeof(GrClipStackFrame)) |
+ , fResourceProvider(resourceProvider) { |
// We need an initial frame to capture the clip state prior to |
// any pushes |
SkNEW_PLACEMENT(fStack.push_back(), GrClipStackFrame); |