Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1783)

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableSVGPaint.h

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/animatable/AnimatableSVGPaint.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableSVGPaint.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableSVGPaint.h
index ade4eb154b94b0de90935a73cea0e9d747b83a1b..042a924b9a447c933cccc08c45db662cd15807b7 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableSVGPaint.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableSVGPaint.h
@@ -79,7 +79,7 @@ class AnimatableSVGPaint final : public AnimatableValue {
const String& visitedLinkURI)
: m_type(type),
m_visitedLinkType(visitedLinkType),
- m_color(color),
+ m_color(std::move(color)),
m_uri(uri),
m_visitedLinkURI(visitedLinkURI) {}
AnimatableType type() const override { return TypeSVGPaint; }

Powered by Google App Engine
This is Rietveld 408576698