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

Unified Diff: third_party/WebKit/Source/core/css/CSSPathValue.cpp

Issue 2282413002: Replaced PassRefPtr copies with moves in Source/core. (Closed)
Patch Set: rebased Created 4 years, 3 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/css/CSSPathValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPathValue.cpp b/third_party/WebKit/Source/core/css/CSSPathValue.cpp
index 2cb4e3a9ba854deaf9f871f883a38d5283a7f09f..19cb779d9154dfb9c90846a449b2fff000c46556 100644
--- a/third_party/WebKit/Source/core/css/CSSPathValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPathValue.cpp
@@ -12,7 +12,7 @@ namespace blink {
CSSPathValue* CSSPathValue::create(PassRefPtr<StylePath> stylePath)
{
- return new CSSPathValue(stylePath);
+ return new CSSPathValue(std::move(stylePath));
}
CSSPathValue* CSSPathValue::create(std::unique_ptr<SVGPathByteStream> pathByteStream)

Powered by Google App Engine
This is Rietveld 408576698