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

Unified Diff: Source/core/animation/PrimitiveInterpolation.h

Issue 1318143005: Add mutableComponent() interface to InterpolationValue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: Source/core/animation/PrimitiveInterpolation.h
diff --git a/Source/core/animation/PrimitiveInterpolation.h b/Source/core/animation/PrimitiveInterpolation.h
index ada198f1620537400baca6e805b7bdde6bc0bb27..a9cad544ca70d206ea540949b59336a21762ae6a 100644
--- a/Source/core/animation/PrimitiveInterpolation.h
+++ b/Source/core/animation/PrimitiveInterpolation.h
@@ -59,7 +59,7 @@ private:
ASSERT(result);
ASSERT(&result->type() == &m_type);
ASSERT(result->nonInterpolableValue() == m_nonInterpolableValue.get());
- m_start->interpolate(*m_end, fraction, result->interpolableValue());
+ m_start->interpolate(*m_end, fraction, *result->mutableComponent().interpolableValue);
}
double interpolateUnderlyingFraction(double start, double end, double fraction) const final { return blend(start, end, fraction); }

Powered by Google App Engine
This is Rietveld 408576698