Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: Source/core/dom/NodeRareData.cpp

Issue 1317143005: [WIP] do something :-) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/QualifiedName.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/NodeRareData.cpp
diff --git a/Source/core/dom/NodeRareData.cpp b/Source/core/dom/NodeRareData.cpp
index d31d5037585dd24b6c9b52ab33bce58209fe0834..70df107817a06a7e8cc4f246217a0d9b0b441cc5 100644
--- a/Source/core/dom/NodeRareData.cpp
+++ b/Source/core/dom/NodeRareData.cpp
@@ -36,16 +36,11 @@
#include "core/frame/FrameHost.h"
#include "core/layout/LayoutObject.h"
#include "platform/heap/Handle.h"
+#include "wtf/SizeAssertions.h"
namespace blink {
-struct SameSizeAsNodeRareData {
- void* m_pointer[2];
- OwnPtrWillBeMember<NodeMutationObserverData> m_mutationObserverData;
- unsigned m_bitfields;
-};
-
-static_assert(sizeof(NodeRareData) == sizeof(SameSizeAsNodeRareData), "NodeRareData should stay small");
+ASSERT_SIZE(NodeRareData, 16, 32);
DEFINE_TRACE_AFTER_DISPATCH(NodeRareData)
{
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/QualifiedName.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698