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

Unified Diff: third_party/WebKit/Source/core/animation/ShadowListPropertyFunctions.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/ShadowListPropertyFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/ShadowListPropertyFunctions.h b/third_party/WebKit/Source/core/animation/ShadowListPropertyFunctions.h
index 8a1e61fa97bd6524ed72b3131445af44bbd6f66c..f4b316254b32790253a217c3a81839e90a4d97f7 100644
--- a/third_party/WebKit/Source/core/animation/ShadowListPropertyFunctions.h
+++ b/third_party/WebKit/Source/core/animation/ShadowListPropertyFunctions.h
@@ -29,10 +29,10 @@ public:
{
switch (property) {
case CSSPropertyBoxShadow:
- style.setBoxShadow(shadowList);
+ style.setBoxShadow(std::move(shadowList));
return;
case CSSPropertyTextShadow:
- style.setTextShadow(shadowList);
+ style.setTextShadow(std::move(shadowList));
return;
default:
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698