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

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

Issue 2622043003: Replaced RefPtr::release with std::move in Source/core. (Closed)
Patch Set: Created 3 years, 11 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/PropertyRegistration.cpp
diff --git a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
index 410ae2c900bf7b26544e15ce2d03ed907961020c..5b7ee3b3d773e6b121fcd70207e40ca54819ae73 100644
--- a/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
+++ b/third_party/WebKit/Source/core/css/PropertyRegistration.cpp
@@ -125,7 +125,7 @@ void PropertyRegistration::registerProperty(
tokenizer.tokenRange(), isAnimationTainted, false);
registry.registerProperty(
atomicName, syntaxDescriptor, descriptor.inherits(), initial,
- initialVariableData.release(), std::move(interpolationTypes));
+ std::move(initialVariableData), std::move(interpolationTypes));
} else {
if (!syntaxDescriptor.isTokenStream()) {
exceptionState.throwDOMException(

Powered by Google App Engine
This is Rietveld 408576698