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

Unified Diff: third_party/WebKit/Source/core/animation/InterpolationValue.h

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/InterpolationValue.h
diff --git a/third_party/WebKit/Source/core/animation/InterpolationValue.h b/third_party/WebKit/Source/core/animation/InterpolationValue.h
index cbe42bb8a89c9a73731edc4705c32150646261c4..b8773c267b5e2fd07decdac706c4ed92e57b33cb 100644
--- a/third_party/WebKit/Source/core/animation/InterpolationValue.h
+++ b/third_party/WebKit/Source/core/animation/InterpolationValue.h
@@ -22,7 +22,7 @@ struct InterpolationValue {
std::unique_ptr<InterpolableValue> interpolableValue,
PassRefPtr<NonInterpolableValue> nonInterpolableValue = nullptr)
: interpolableValue(std::move(interpolableValue)),
- nonInterpolableValue(nonInterpolableValue) {}
+ nonInterpolableValue(std::move(nonInterpolableValue)) {}
InterpolationValue(std::nullptr_t) {}

Powered by Google App Engine
This is Rietveld 408576698