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

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

Issue 2286233002: Replaced PassRefPtr copies with moves in Source/core/animation. (Closed)
Patch Set: Created 4 years, 4 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/AnimatableShadow.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableShadow.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableShadow.h
index aed8c72725beb59526dd222257a48d3f81c60f70..90c7397132d581fd0f885e98c20c44dd7f33e0a3 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableShadow.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableShadow.h
@@ -41,7 +41,7 @@ public:
~AnimatableShadow() override { }
static PassRefPtr<AnimatableShadow> create(PassRefPtr<ShadowList> shadowList, const Color& currentColor)
{
- return adoptRef(new AnimatableShadow(shadowList, currentColor));
+ return adoptRef(new AnimatableShadow(std::move(shadowList), currentColor));
}
ShadowList* getShadowList() const { return m_shadowList.get(); }

Powered by Google App Engine
This is Rietveld 408576698