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

Unified Diff: third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.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/CSSTranslateInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
index aa63b354e183725b24e1fc441b9c94ceda0fc15e..1a799ac4b0471a2baf2f728c28bc611c1aa64606 100644
--- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
@@ -163,7 +163,7 @@ void CSSTranslateInterpolationType::applyStandardPropertyValue(
if (!x.isZero() || !y.isZero() || z != 0)
result = TranslateTransformOperation::create(
x, y, z, TransformOperation::Translate3D);
- state.style()->setTranslate(result.release());
+ state.style()->setTranslate(std::move(result));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698