Fix for Chrome Canaries.
authorjvanverth <jvanverth@google.com>
Sat, 2 Aug 2014 00:15:20 +0000 (17:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 2 Aug 2014 00:15:20 +0000 (17:15 -0700)
R=bsalomon@google.com
TBR=bsalomon@google.com

Author: jvanverth@google.com

Review URL: https://codereview.chromium.org/434623010

src/gpu/GrDistanceFieldTextContext.cpp

index 4e2567dd39d42bb86a93d4981819bfa5986b0309..003ed4075fb13aaa4fac7d35d0260adce804e684 100755 (executable)
@@ -157,7 +157,7 @@ void GrDistanceFieldTextContext::setupCoverageEffect(const SkColor& filteredColo
                                                                      lum/255.f,
                                                                      flags));
 #else
-            fCachedEffect.reset(GrDistanceFieldTextureEffect::Create(currTexture,
+            fCachedEffect.reset(GrDistanceFieldTextureEffect::Create(fCurrTexture,
                                                                      params, flags));
 #endif
         }