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

Unified Diff: third_party/WebKit/Source/core/animation/CustomCompositorAnimations.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/CustomCompositorAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp b/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp
index c1a2afb8fd644d86a00477e4879d99cd71f3cdcc..b883dbd1fbe3dd7b6c27bfe6b852451f966d8d9f 100644
--- a/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/CustomCompositorAnimations.cpp
@@ -92,7 +92,7 @@ void CustomCompositorAnimations::applyUpdate(
RefPtr<AnimatableValue> animatableValue =
AnimatableDouble::create(mutation.opacity());
m_animation = createOrUpdateAnimation(
- m_animation, element, CSSPropertyOpacity, animatableValue.release());
+ m_animation, element, CSSPropertyOpacity, std::move(animatableValue));
}
if (mutation.isTransformMutated()) {
TransformOperations ops;
@@ -101,7 +101,7 @@ void CustomCompositorAnimations::applyUpdate(
RefPtr<AnimatableValue> animatableValue =
AnimatableTransform::create(ops, 1);
m_animation = createOrUpdateAnimation(
- m_animation, element, CSSPropertyTransform, animatableValue.release());
+ m_animation, element, CSSPropertyTransform, std::move(animatableValue));
}
}

Powered by Google App Engine
This is Rietveld 408576698