diff options
Diffstat (limited to 'src/gpu/effects/GrArithmeticFP.h')
-rw-r--r-- | src/gpu/effects/GrArithmeticFP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrArithmeticFP.h b/src/gpu/effects/GrArithmeticFP.h index 6e6b6a5cc2..940f1adcf4 100644 --- a/src/gpu/effects/GrArithmeticFP.h +++ b/src/gpu/effects/GrArithmeticFP.h @@ -25,7 +25,7 @@ public: bool enforcePMColor, std::unique_ptr<GrFragmentProcessor> child) { return std::unique_ptr<GrFragmentProcessor>( - new GrArithmeticFP(k1, k2, k3, k4, enforcePMColor, child->clone())); + new GrArithmeticFP(k1, k2, k3, k4, enforcePMColor, std::move(child))); } GrArithmeticFP(const GrArithmeticFP& src); std::unique_ptr<GrFragmentProcessor> clone() const override; |