Chromium Code Reviews| Index: third_party/WebKit/Source/core/animation/PrimitiveInterpolation.h |
| diff --git a/third_party/WebKit/Source/core/animation/PrimitiveInterpolation.h b/third_party/WebKit/Source/core/animation/PrimitiveInterpolation.h |
| index e4f4efb95a1396a396e90fc3f8a63bab4a19e036..b570f7012dfe165d1dd5b0b7bdebd6c1c9a9cb08 100644 |
| --- a/third_party/WebKit/Source/core/animation/PrimitiveInterpolation.h |
| +++ b/third_party/WebKit/Source/core/animation/PrimitiveInterpolation.h |
| @@ -96,7 +96,6 @@ private: |
| void interpolateValue(double fraction, std::unique_ptr<TypedInterpolationValue>& result) const final |
| { |
| - // TODO(alancutter): Remove this optimisation once Oilpan is default. |
|
alancutter (OOO until 2018)
2016/09/27 01:14:14
InterpolationValues are no longer garbage collecte
|
| if (!std::isnan(m_lastFraction) && (fraction < 0.5) == (m_lastFraction < 0.5)) |
| return; |
| const TypedInterpolationValue* side = ((fraction < 0.5) ? m_start : m_end).get(); |