summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/ElementRareData.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/dom/ElementRareData.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/dom/ElementRareData.cpp')
-rw-r--r--Source/WebCore/dom/ElementRareData.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/WebCore/dom/ElementRareData.cpp b/Source/WebCore/dom/ElementRareData.cpp
index d35215e20..aca3463a7 100644
--- a/Source/WebCore/dom/ElementRareData.cpp
+++ b/Source/WebCore/dom/ElementRareData.cpp
@@ -34,14 +34,19 @@
namespace WebCore {
struct SameSizeAsElementRareData : NodeRareData {
- short indices[2];
- unsigned bitfields;
+ int tabIndex;
+ unsigned short childIndex;
+#if ENABLE(FULLSCREEN_API)
+ unsigned bitfields : 11;
+#else
+ unsigned bitfields : 10;
+#endif
RegionOversetState regionOversetState;
LayoutSize sizeForResizing;
- IntSize scrollOffset;
- void* pointers[7];
+ IntPoint savedLayerScrollPosition;
+ void* pointers[8];
};
-COMPILE_ASSERT(sizeof(ElementRareData) == sizeof(SameSizeAsElementRareData), ElementRareDataShouldStaySmall);
+static_assert(sizeof(ElementRareData) == sizeof(SameSizeAsElementRareData), "ElementRareData should stay small");
} // namespace WebCore