Change some function/vars from EffectPtr to EffectRef to reflect GrEffectPtr->GrEffectRef renaming.
git-svn-id: http://skia.googlecode.com/svn/trunk@7226 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp
index 6db44f4..d1ef4b7 100644
--- a/src/gpu/GrEffect.cpp
+++ b/src/gpu/GrEffect.cpp
@@ -64,7 +64,7 @@
GrEffectRef::~GrEffectRef() {
GrAssert(1 == this->getRefCnt());
- fEffect->effectPtrDestroyed();
+ fEffect->EffectRefDestroyed();
fEffect->unref();
}
@@ -79,7 +79,7 @@
///////////////////////////////////////////////////////////////////////////////
GrEffect::~GrEffect() {
- GrAssert(NULL == fEffectPtr);
+ GrAssert(NULL == fEffectRef);
}
const char* GrEffect::name() const {