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" | 5 #include "sky/engine/config.h" |
6 #include "sky/engine/core/rendering/style/StyleWillChangeData.h" | 6 #include "sky/engine/core/rendering/style/StyleWillChangeData.h" |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 StyleWillChangeData::StyleWillChangeData() | 10 StyleWillChangeData::StyleWillChangeData() |
11 : m_contents(false) | 11 : m_contents(false) |
12 , m_scrollPosition(false) | |
13 { | 12 { |
14 } | 13 } |
15 | 14 |
16 StyleWillChangeData::StyleWillChangeData(const StyleWillChangeData& o) | 15 StyleWillChangeData::StyleWillChangeData(const StyleWillChangeData& o) |
17 : RefCounted<StyleWillChangeData>() | 16 : RefCounted<StyleWillChangeData>() |
18 , m_properties(o.m_properties) | 17 , m_properties(o.m_properties) |
19 , m_contents(o.m_contents) | 18 , m_contents(o.m_contents) |
20 , m_scrollPosition(o.m_scrollPosition) | |
21 { | 19 { |
22 } | 20 } |
23 | 21 |
24 } // namespace blink | 22 } // namespace blink |
OLD | NEW |