Index: third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h |
diff --git a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h |
index bbcddbb145c68153a13a3935b4fa2b0c1d3a101c..5b4bd01c77a16c4dcef412274c4fa9ed5c650858 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h |
+++ b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h |
@@ -56,7 +56,7 @@ class PLATFORM_EXPORT GradientGeneratedImage final : public GeneratedImage { |
void drawTile(GraphicsContext&, const FloatRect&) override; |
GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size) |
- : GeneratedImage(size), m_gradient(generator) {} |
+ : GeneratedImage(size), m_gradient(std::move(generator)) {} |
RefPtr<Gradient> m_gradient; |
}; |