| 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 9b60294078ea8b616eea30788713dc43b17fbd64..ce200b37f26eb6cbbfdd2e66663d5d4a8d26249a 100644
|
| --- a/third_party/WebKit/Source/core/dom/NodeRareData.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/NodeRareData.cpp
|
| @@ -58,7 +58,7 @@ DEFINE_TRACE_AFTER_DISPATCH(NodeRareData)
|
|
|
| DEFINE_TRACE(NodeRareData)
|
| {
|
| - if (m_isElementRareData)
|
| + if (isElementRareData())
|
| static_cast<ElementRareData*>(this)->traceAfterDispatch(visitor);
|
| else
|
| traceAfterDispatch(visitor);
|
| @@ -66,7 +66,7 @@ DEFINE_TRACE(NodeRareData)
|
|
|
| DEFINE_TRACE_WRAPPERS(NodeRareData)
|
| {
|
| - if (m_isElementRareData)
|
| + if (isElementRareData())
|
| static_cast<const ElementRareData*>(this)->traceWrappersAfterDispatch(visitor);
|
| else
|
| traceWrappersAfterDispatch(visitor);
|
| @@ -81,7 +81,7 @@ DEFINE_TRACE_WRAPPERS_AFTER_DISPATCH(NodeRareData)
|
| void NodeRareData::finalizeGarbageCollectedObject()
|
| {
|
| RELEASE_ASSERT(!layoutObject());
|
| - if (m_isElementRareData)
|
| + if (isElementRareData())
|
| static_cast<ElementRareData*>(this)->~ElementRareData();
|
| else
|
| this->~NodeRareData();
|
|
|