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

Unified Diff: third_party/WebKit/Source/core/css/CSSVariableReferenceValue.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/CSSVariableReferenceValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSVariableReferenceValue.h b/third_party/WebKit/Source/core/css/CSSVariableReferenceValue.h
index b3506d2076bc0127ac88dd2f7428d460acb4d736..900e16583d958b613e640303f692f34ee6340fd0 100644
--- a/third_party/WebKit/Source/core/css/CSSVariableReferenceValue.h
+++ b/third_party/WebKit/Source/core/css/CSSVariableReferenceValue.h
@@ -15,7 +15,7 @@ class CSSVariableReferenceValue : public CSSValue {
public:
static CSSVariableReferenceValue* create(PassRefPtr<CSSVariableData> data)
{
- return new CSSVariableReferenceValue(data);
+ return new CSSVariableReferenceValue(std::move(data));
}
CSSVariableData* variableDataValue() const
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPathValue.cpp ('k') | third_party/WebKit/Source/core/css/invalidation/InvalidationSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698