aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texturedomaineffect.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-10-07 09:20:28 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-07 09:20:28 -0700
commit0ba8c2401e7b9b0dc68a434347a32c733045a57b (patch)
treea9004dac8fa41c4ed9fce427b55a428c10145f8c /gm/texturedomaineffect.cpp
parent5ea95df02de9cd774d0b84d1341599bbd9c0d8db (diff)
Insert clip fragment processor outside GrCMM
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r--gm/texturedomaineffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp
index 77b51dab0d..9952690fed 100644
--- a/gm/texturedomaineffect.cpp
+++ b/gm/texturedomaineffect.cpp
@@ -116,7 +116,7 @@ protected:
for (int m = 0; m < GrTextureDomain::kModeCount; ++m) {
GrTextureDomain::Mode mode = (GrTextureDomain::Mode) m;
GrPipelineBuilder pipelineBuilder;
- SkAutoTUnref<GrFragmentProcessor> fp(
+ SkAutoTUnref<const GrFragmentProcessor> fp(
GrTextureDomainEffect::Create(texture, textureMatrices[tm],
GrTextureDomain::MakeTexelDomain(texture,
texelDomains[d]),