OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef ConstantStyleInterpolation_h | 5 #ifndef ConstantStyleInterpolation_h |
6 #define ConstantStyleInterpolation_h | 6 #define ConstantStyleInterpolation_h |
7 | 7 |
8 #include "core/animation/StyleInterpolation.h" | 8 #include "core/animation/StyleInterpolation.h" |
9 #include "core/css/resolver/StyleBuilder.h" | 9 #include "core/css/resolver/StyleBuilder.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 private: | 25 private: |
26 ConstantStyleInterpolation(CSSValue* value, CSSPropertyID id) | 26 ConstantStyleInterpolation(CSSValue* value, CSSPropertyID id) |
27 : StyleInterpolation(InterpolableList::create(0), InterpolableList::crea
te(0), id) | 27 : StyleInterpolation(InterpolableList::create(0), InterpolableList::crea
te(0), id) |
28 , m_value(value) | 28 , m_value(value) |
29 { } | 29 { } |
30 | 30 |
31 RefPtrWillBePersistent<CSSValue> m_value; | 31 RefPtrWillBePersistent<CSSValue> m_value; |
32 }; | 32 }; |
33 | 33 |
34 } | 34 } // namespace blink |
35 | 35 |
36 #endif | 36 #endif |
OLD | NEW |