| 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 "sky/engine/config.h" | |
| 6 #include "sky/engine/core/animation/css/CSSTimingData.h" | 5 #include "sky/engine/core/animation/css/CSSTimingData.h" |
| 7 | 6 |
| 8 #include "sky/engine/core/animation/Timing.h" | 7 #include "sky/engine/core/animation/Timing.h" |
| 9 | 8 |
| 10 namespace blink { | 9 namespace blink { |
| 11 | 10 |
| 12 CSSTimingData::CSSTimingData() | 11 CSSTimingData::CSSTimingData() |
| 13 { | 12 { |
| 14 m_delayList.append(initialDelay()); | 13 m_delayList.append(initialDelay()); |
| 15 m_durationList.append(initialDuration()); | 14 m_durationList.append(initialDuration()); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 27 { | 26 { |
| 28 Timing timing; | 27 Timing timing; |
| 29 timing.startDelay = getRepeated(m_delayList, index); | 28 timing.startDelay = getRepeated(m_delayList, index); |
| 30 timing.iterationDuration = getRepeated(m_durationList, index); | 29 timing.iterationDuration = getRepeated(m_durationList, index); |
| 31 timing.timingFunction = getRepeated(m_timingFunctionList, index); | 30 timing.timingFunction = getRepeated(m_timingFunctionList, index); |
| 32 timing.assertValid(); | 31 timing.assertValid(); |
| 33 return timing; | 32 return timing; |
| 34 } | 33 } |
| 35 | 34 |
| 36 } // namespace blink | 35 } // namespace blink |
| OLD | NEW |