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

Unified Diff: third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.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/animation/FilterInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
index 32e530295174c85a26613fa816724b3e7b7545bf..58cb8b9a75f8c81a7437bef0de681fa331809264 100644
--- a/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/FilterInterpolationFunctions.cpp
@@ -155,7 +155,7 @@ InterpolationValue FilterInterpolationFunctions::maybeConvertCSSFilter(
return nullptr;
result.nonInterpolableValue = FilterNonInterpolableValue::create(
- type, result.nonInterpolableValue.release());
+ type, std::move(result.nonInterpolableValue));
return result;
}
@@ -204,7 +204,7 @@ InterpolationValue FilterInterpolationFunctions::maybeConvertFilter(
return nullptr;
result.nonInterpolableValue = FilterNonInterpolableValue::create(
- filter.type(), result.nonInterpolableValue.release());
+ filter.type(), std::move(result.nonInterpolableValue));
return result;
}

Powered by Google App Engine
This is Rietveld 408576698