commit | db4183d227b764b219e9e314dd5387ded4c38797 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Thu Nov 17 12:48:40 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Nov 17 19:35:53 2016 +0000 |
tree | b4b7e00004e18497418aa449b1b334bd800aa595 | |
parent | 3a88725d582a8ad816db872d171aa7fdb9b85822 [diff] [blame] |
In GrProcessor::TextureSampler drop the "get", it's cleaner GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4962 Change-Id: I55e7f8d1b6e1097fdbe411e9989dd42a03dd5f33 Reviewed-on: https://skia-review.googlesource.com/4962 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/effects/GrAlphaThresholdFragmentProcessor.cpp b/src/effects/GrAlphaThresholdFragmentProcessor.cpp index 9a131f8..4e4dbbe 100644 --- a/src/effects/GrAlphaThresholdFragmentProcessor.cpp +++ b/src/effects/GrAlphaThresholdFragmentProcessor.cpp
@@ -68,7 +68,7 @@ } void GrAlphaThresholdFragmentProcessor::onComputeInvariantOutput(GrInvariantOutput* inout) const { - GrPixelConfig config = this->textureSampler(0).getTexture()->config(); + GrPixelConfig config = this->textureSampler(0).texture()->config(); if (GrPixelConfigIsAlphaOnly(config)) { inout->mulByUnknownSingleComponent(); } else if (GrPixelConfigIsOpaque(config) && fOuterThreshold >= 1.f) {