Remove GrContext from SkXfermode::[Aa]sNewEffectOrCoeff() and all subclasses,
since it's unused.
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/31853003
git-svn-id: http://skia.googlecode.com/svn/trunk/include@11913 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/core/SkMaskFilter.h b/core/SkMaskFilter.h
index fda1289..a2bc638 100644
--- a/core/SkMaskFilter.h
+++ b/core/SkMaskFilter.h
@@ -14,6 +14,7 @@
#include "SkMask.h"
#include "SkPaint.h"
+class GrContext;
class SkBitmap;
class SkBlitter;
class SkBounder;
diff --git a/core/SkXfermode.h b/core/SkXfermode.h
index f4df226..0cc430e 100644
--- a/core/SkXfermode.h
+++ b/core/SkXfermode.h
@@ -13,7 +13,6 @@
#include "SkFlattenable.h"
#include "SkColor.h"
-class GrContext;
class GrEffectRef;
class GrTexture;
class SkString;
@@ -204,8 +203,7 @@
access to destination color (setWillReadDstColor()), and use that in the fragment shader
(builder->dstColor()).
*/
- virtual bool asNewEffectOrCoeff(GrContext*,
- GrEffectRef** effect,
+ virtual bool asNewEffectOrCoeff(GrEffectRef** effect,
Coeff* src,
Coeff* dst,
GrTexture* background = NULL) const;
@@ -215,7 +213,6 @@
* is NULL, and if so, treats it as kSrcOver_Mode.
*/
static bool AsNewEffectOrCoeff(SkXfermode*,
- GrContext*,
GrEffectRef** effect,
Coeff* src,
Coeff* dst,