Give GrClipMaskManager a GrGpu*
Review URL: http://codereview.appspot.com/6301090/
git-svn-id: http://skia.googlecode.com/svn/trunk@4269 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index 7765d24..c8c983c 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -30,7 +30,8 @@
#define DEBUG_INVAL_START_IDX -1
GrGpu::GrGpu()
- : fContext(NULL)
+ : fClipMaskManager(this)
+ , fContext(NULL)
, fResetTimestamp(kExpiredTimestamp+1)
, fVertexPool(NULL)
, fIndexPool(NULL)
@@ -368,7 +369,7 @@
ScissoringSettings scissoringSettings;
- if (!fClipMaskManager.createClipMask(this, fClip, &scissoringSettings)) {
+ if (!fClipMaskManager.createClipMask(fClip, &scissoringSettings)) {
return false;
}