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

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

Issue 2814603002: Move LayoutObject to satellite NodeLayoutData that hangs from a Node. (Closed)
Patch Set: Question Created 3 years, 8 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
Index: third_party/WebKit/Source/core/dom/NodeRareData.cpp
diff --git a/third_party/WebKit/Source/core/dom/NodeRareData.cpp b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
index 221b9ca6d06193cbaa22f92b5ea82c8f3b572d6f..2f002b42c100556eb1d05d614ffbf6ac11b81cc3 100644
--- a/third_party/WebKit/Source/core/dom/NodeRareData.cpp
+++ b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
@@ -39,7 +39,6 @@
namespace blink {
struct SameSizeAsNodeRareData {
- void* pointer_;
Member<void*> willbe_member_[2];
unsigned bitfields_;
};
@@ -77,7 +76,6 @@ DEFINE_TRACE_WRAPPERS_AFTER_DISPATCH(NodeRareData) {
}
void NodeRareData::FinalizeGarbageCollectedObject() {
- CHECK(!GetLayoutObject());
if (is_element_rare_data_)
static_cast<ElementRareData*>(this)->~ElementRareData();
else

Powered by Google App Engine
This is Rietveld 408576698