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

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: 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..325e5c8eb4e689092d89b26768546e2e35608d4b 100644
--- a/third_party/WebKit/Source/core/dom/NodeRareData.cpp
+++ b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
@@ -77,7 +77,7 @@ DEFINE_TRACE_WRAPPERS_AFTER_DISPATCH(NodeRareData) {
}
void NodeRareData::FinalizeGarbageCollectedObject() {
- CHECK(!GetLayoutObject());
+ CHECK(!GetLayoutData()->GetLayoutObject());
esprehn 2017/04/10 22:20:12 leave this assert alone, GetLayoutObject() needs t
nainar 2017/04/13 00:10:22 NodeRareDataBase stores a pointer to NodeLayoutDat
if (is_element_rare_data_)
static_cast<ElementRareData*>(this)->~ElementRareData();
else
« third_party/WebKit/Source/core/dom/Node.cpp ('K') | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698