| 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 8760f77e3cf3699b5ef4b37b46e8d8871b0424e5..49b2d73bf388bb0bf4af2c3a17a380f2d721e8ab 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -266,6 +266,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
|
|
|