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

Unified Diff: third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h b/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
index 22b5f864f1819e29483ef471dda950a21876bb5d..294bf6c02751d232ff95e926a7762e96d96f2ede 100644
--- a/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
+++ b/third_party/WebKit/Source/core/animation/BasicShapePropertyFunctions.h
@@ -49,10 +49,10 @@ public:
{
switch (property) {
case CSSPropertyShapeOutside:
- style.setShapeOutside(ShapeValue::createShapeValue(shape, BoxMissing));
+ style.setShapeOutside(ShapeValue::createShapeValue(std::move(shape), BoxMissing));
break;
case CSSPropertyWebkitClipPath:
- style.setClipPath(ShapeClipPathOperation::create(shape));
+ style.setClipPath(ShapeClipPathOperation::create(std::move(shape)));
break;
default:
NOTREACHED();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/CSSBasicShapeInterpolationType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698