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

Unified Diff: third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h

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/CSSCustomPropertyDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h
index c2fcc12af1ef90a5bd9ed1f4a304d204ad8a1f48..1b1aaf2dadbdac58834ca9884c40c73cb6c60b20 100644
--- a/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h
+++ b/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.h
@@ -16,7 +16,7 @@ class CSSCustomPropertyDeclaration : public CSSValue {
public:
static CSSCustomPropertyDeclaration* create(const AtomicString& name, PassRefPtr<CSSVariableData> value)
{
- return new CSSCustomPropertyDeclaration(name, value);
+ return new CSSCustomPropertyDeclaration(name, std::move(value));
}
static CSSCustomPropertyDeclaration* create(const AtomicString& name, CSSValueID id)
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataObject.cpp ('k') | third_party/WebKit/Source/core/css/CSSPathValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698