| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index a7f51f704a679c10db793f474762e3b0348a759a..05c46885aaf4cdb93e1e66d8884aca7f60ca1241 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -263,6 +263,8 @@ Node::~Node()
|
| // this condition (we cannot directly access it here.)
|
| RELEASE_ASSERT(hasRareData() || !layoutObject());
|
| InstanceCounters::decrementCounter(InstanceCounters::NodeCounter);
|
| + if (!hasRareData() && !hasLayoutObject() && m_data.m_computedStyle)
|
| + m_data.m_computedStyle->deref();
|
| }
|
|
|
| NodeRareData* Node::rareData() const
|
|
|