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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp

Issue 2889903002: Remove usage of RefPtr::Release() passed to ComputedStyle setters. (Closed)
Patch Set: Created 3 years, 7 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/dom/Element.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/CSSInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
index f6a5cd066dfac1716fd23b3de5a96343cf7729d0..24a105bba073306b5587739924560c25a2b8eeae 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
@@ -305,11 +305,11 @@ void CSSInterpolationType::ApplyCustomPropertyValue(
const AtomicString& property_name = property.CustomPropertyName();
DCHECK(registration_);
if (registration_->Inherits()) {
- style.SetResolvedInheritedVariable(property_name, variable_data.Release(),
+ style.SetResolvedInheritedVariable(property_name, std::move(variable_data),
css_value);
} else {
style.SetResolvedNonInheritedVariable(property_name,
- variable_data.Release(), css_value);
+ std::move(variable_data), css_value);
}
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698