Chromium Code Reviews| 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..c51efd99fdd94f3e057d6e8e01457901cf4326a1 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(!GetNodeLayoutData()->GetLayoutObject()); |
|
esprehn
2017/04/13 18:41:08
Can we put this in the destructor of NodeLayoutDat
nainar
2017/04/13 20:21:03
Done.
|
| if (is_element_rare_data_) |
| static_cast<ElementRareData*>(this)->~ElementRareData(); |
| else |