| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 #include "core/animation/LengthPairStyleInterpolation.h" | 6 #include "core/animation/LengthPairStyleInterpolation.h" |
| 7 | 7 |
| 8 #include "core/animation/LengthStyleInterpolation.h" | 8 #include "core/animation/LengthStyleInterpolation.h" |
| 9 #include "core/css/Pair.h" | 9 #include "core/css/Pair.h" |
| 10 #include "core/css/resolver/StyleBuilder.h" | 10 #include "core/css/resolver/StyleBuilder.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 RefPtrWillBeRawPtr<Pair> result = Pair::create(first, second, Pair::KeepIden
ticalValues); | 40 RefPtrWillBeRawPtr<Pair> result = Pair::create(first, second, Pair::KeepIden
ticalValues); |
| 41 | 41 |
| 42 return CSSPrimitiveValue::create(result.release()); | 42 return CSSPrimitiveValue::create(result.release()); |
| 43 } | 43 } |
| 44 | 44 |
| 45 void LengthPairStyleInterpolation::apply(StyleResolverState& state) const | 45 void LengthPairStyleInterpolation::apply(StyleResolverState& state) const |
| 46 { | 46 { |
| 47 StyleBuilder::applyProperty(m_id, state, interpolableValueToLengthPair(m_cac
hedValue.get(), m_range).get()); | 47 StyleBuilder::applyProperty(m_id, state, interpolableValueToLengthPair(m_cac
hedValue.get(), m_range).get()); |
| 48 } | 48 } |
| 49 | 49 |
| 50 void LengthPairStyleInterpolation::trace(Visitor* visitor) |
| 51 { |
| 52 StyleInterpolation::trace(visitor); |
| 53 } |
| 54 |
| 50 } // namespace blink | 55 } // namespace blink |
| OLD | NEW |