Index: src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
diff --git a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
index 29f0985107884e230d9f21a146c9f93305db22b5..9305ba98f0356a990515c28ce42fe2a564448b70 100755 |
--- a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
+++ b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp |
@@ -128,7 +128,7 @@ public: |
const GrDrawEffect& drawEffect) SK_OVERRIDE { |
SkASSERT(fTextureSizeUni.isValid()); |
- GrTexture* texture = drawEffect.effect()->get()->texture(0); |
+ GrTexture* texture = drawEffect.effect()->texture(0); |
if (texture->width() != fTextureSize.width() || |
texture->height() != fTextureSize.height()) { |
fTextureSize = SkISize::Make(texture->width(), texture->height()); |
@@ -386,7 +386,7 @@ public: |
const GrDistanceFieldLCDTextureEffect& dfTexEffect = |
drawEffect.castEffect<GrDistanceFieldLCDTextureEffect>(); |
- GrTexture* texture = drawEffect.effect()->get()->texture(0); |
+ GrTexture* texture = drawEffect.effect()->texture(0); |
if (texture->width() != fTextureSize.width() || |
texture->height() != fTextureSize.height()) { |
fTextureSize = SkISize::Make(texture->width(), texture->height()); |