diff options
author | Robert Phillips <robertphillips@google.com> | 2017-11-08 13:34:43 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-08 19:06:17 +0000 |
commit | f290376736b42a19b87da78c6ba2558313896860 (patch) | |
tree | 664ff0fb2802069f4373238a6127b287cc3db8a6 /src/gpu/effects | |
parent | 47ba5cd0974273192c83cc27addb9ae1880c1d6d (diff) |
Prepare to enable explicit gpu resource allocation
Change-Id: I407e45711c61831febbac3d3d3a88e3fdde92c5f
Reviewed-on: https://skia-review.googlesource.com/68212
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/effects')
-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; |