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

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

Issue 2691983003: Avoid mutating the NonInterpolableValue in CSSTextIndentInterpolationType::maybeMergeSingles() (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
index 5886323ac62dbbba3fef7fc27055207bbbee6d3d..99a74d1637223605cbf2349acc37f00b74458cce 100644
--- a/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTextIndentInterpolationType.cpp
@@ -198,11 +198,10 @@ PairwiseInterpolationValue CSSTextIndentInterpolationType::maybeMergeSingles(
LengthInterpolationFunctions::mergeSingles(
InterpolationValue(
std::move(start.interpolableValue),
- std::move(
- startNonInterpolableValue.lengthNonInterpolableValue())),
+ startNonInterpolableValue.lengthNonInterpolableValue()),
InterpolationValue(
std::move(end.interpolableValue),
- std::move(endNonInterpolableValue.lengthNonInterpolableValue())));
+ endNonInterpolableValue.lengthNonInterpolableValue()));
result.nonInterpolableValue = CSSTextIndentNonInterpolableValue::create(
std::move(result.nonInterpolableValue), startNonInterpolableValue.mode());
return result;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698