Addressed Windows compiler complaints
http://codereview.appspot.com/6462062/
This CL will require re-baselining of the imagemagnifier GM
git-svn-id: http://skia.googlecode.com/svn/trunk@5108 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
index fed4205..1187a08 100644
--- a/src/gpu/GrClipMaskManager.h
+++ b/src/gpu/GrClipMaskManager.h
@@ -264,8 +264,8 @@
public:
GR_DECLARE_RESOURCE_CACHE_DOMAIN(GetAlphaMaskDomain)
- GrClipMaskManager(GrGpu* gpu)
- : fGpu(gpu)
+ GrClipMaskManager()
+ : fGpu(NULL)
, fCurrClipMaskType(kNone_ClipMaskType) {
}
@@ -299,6 +299,10 @@
return fAACache.getContext();
}
+ void setGpu(GrGpu* gpu) {
+ fGpu = gpu;
+ }
+
private:
/**
* Informs the helper function adjustStencilParams() about how the stencil