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

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

Issue 2761693002: Wrapped PassRefPtrs in move where passed to RefPtr constructor. (Closed)
Patch Set: Added move wraps for multiple instances in 1 line. Created 3 years, 9 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 5602d3c7842a789065adf0acb7b4a5210cab54c1..608e5c3998e260fd03607b66624e3d8c7d607a2c 100644
--- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
@@ -47,7 +47,7 @@ class InheritedTranslateChecker : public InterpolationType::ConversionChecker {
private:
InheritedTranslateChecker(
PassRefPtr<TranslateTransformOperation> inheritedTranslate)
- : m_inheritedTranslate(inheritedTranslate) {}
+ : m_inheritedTranslate(std::move(inheritedTranslate)) {}
RefPtr<TransformOperation> m_inheritedTranslate;
};

Powered by Google App Engine
This is Rietveld 408576698