OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 #include "core/rendering/style/StyleBoxData.h" | 23 #include "core/rendering/style/StyleBoxData.h" |
24 | 24 |
25 #include "core/rendering/style/RenderStyle.h" | 25 #include "core/rendering/style/RenderStyle.h" |
26 #include "core/rendering/style/RenderStyleConstants.h" | 26 #include "platform/RenderStyleConstants.h" |
27 | 27 |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 struct SameSizeAsStyleBoxData : public RefCounted<SameSizeAsStyleBoxData> { | 30 struct SameSizeAsStyleBoxData : public RefCounted<SameSizeAsStyleBoxData> { |
31 Length length[7]; | 31 Length length[7]; |
32 int m_zIndex; | 32 int m_zIndex; |
33 uint32_t bitfields; | 33 uint32_t bitfields; |
34 }; | 34 }; |
35 | 35 |
36 COMPILE_ASSERT(sizeof(StyleBoxData) == sizeof(SameSizeAsStyleBoxData), StyleBoxD
ata_should_not_grow); | 36 COMPILE_ASSERT(sizeof(StyleBoxData) == sizeof(SameSizeAsStyleBoxData), StyleBoxD
ata_should_not_grow); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 && m_maxHeight == o.m_maxHeight | 73 && m_maxHeight == o.m_maxHeight |
74 && m_verticalAlign == o.m_verticalAlign | 74 && m_verticalAlign == o.m_verticalAlign |
75 && m_zIndex == o.m_zIndex | 75 && m_zIndex == o.m_zIndex |
76 && m_hasAutoZIndex == o.m_hasAutoZIndex | 76 && m_hasAutoZIndex == o.m_hasAutoZIndex |
77 && m_boxSizing == o.m_boxSizing | 77 && m_boxSizing == o.m_boxSizing |
78 && m_boxDecorationBreak == o.m_boxDecorationBreak | 78 && m_boxDecorationBreak == o.m_boxDecorationBreak |
79 ; | 79 ; |
80 } | 80 } |
81 | 81 |
82 } // namespace WebCore | 82 } // namespace WebCore |
OLD | NEW |