diff options
Diffstat (limited to 'src/gpu/effects/GrDitherEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrDitherEffect.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp index 158c47e86d..53aa0d2b24 100644 --- a/src/gpu/effects/GrDitherEffect.cpp +++ b/src/gpu/effects/GrDitherEffect.cpp @@ -60,9 +60,7 @@ bool GrDitherEffect::onIsEqual(const GrFragmentProcessor& other) const { return true; } GrDitherEffect::GrDitherEffect(const GrDitherEffect& src) - : INHERITED(src.optimizationFlags()), fRangeType(src.fRangeType) { - this->initClassID<GrDitherEffect>(); -} + : INHERITED(kGrDitherEffect_ClassID, src.optimizationFlags()), fRangeType(src.fRangeType) {} std::unique_ptr<GrFragmentProcessor> GrDitherEffect::clone() const { return std::unique_ptr<GrFragmentProcessor>(new GrDitherEffect(*this)); } |