Chromium windows compile fails because of the assertion in NodeRareData
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jan 2013 02:05:14 +0000 (02:05 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jan 2013 02:05:14 +0000 (02:05 +0000)
commit2f40fa17c82147cd9fdd440226a79219bee24289
treea00de93e26a6994a945d2bd24cfc03f12e8c4bab
parent3fa2b1ae1c560938ff800bc382592f983f1d2568
Chromium windows compile fails because of the assertion in NodeRareData
https://bugs.webkit.org/show_bug.cgi?id=106149

Reviewed by Andreas Kling.

MSVC adds padding between bitfields of different types for better alignment.
Since we care more about the memory usage, use unsigned for all bitfields to work around this behavior.

* dom/NodeRareData.cpp:
(SameSizeAsNodeRareData):
(WebCore):
* dom/NodeRareData.h:
(WebCore::NodeRareData::isWebVTTNode):
(WebCore::NodeRareData::isWebVTTFutureNode):
(NodeRareData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@138879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/NodeRareData.cpp
Source/WebCore/dom/NodeRareData.h