| 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/CSSTransitionData.h" | 5 #include "sky/engine/core/animation/css/CSSTransitionData.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 CSSTransitionData::CSSTransitionData() | 11 CSSTransitionData::CSSTransitionData() |
| 13 { | 12 { |
| 14 m_propertyList.append(initialProperty()); | 13 m_propertyList.append(initialProperty()); |
| 15 } | 14 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 28 Timing CSSTransitionData::convertToTiming(size_t index) const | 27 Timing CSSTransitionData::convertToTiming(size_t index) const |
| 29 { | 28 { |
| 30 ASSERT(index < m_propertyList.size()); | 29 ASSERT(index < m_propertyList.size()); |
| 31 // Note that the backwards fill part is required for delay to work. | 30 // Note that the backwards fill part is required for delay to work. |
| 32 Timing timing = CSSTimingData::convertToTiming(index); | 31 Timing timing = CSSTimingData::convertToTiming(index); |
| 33 timing.fillMode = Timing::FillModeBoth; | 32 timing.fillMode = Timing::FillModeBoth; |
| 34 return timing; | 33 return timing; |
| 35 } | 34 } |
| 36 | 35 |
| 37 } // namespace blink | 36 } // namespace blink |
| OLD | NEW |