| Index: Source/core/html/HTMLStyleElement.cpp
|
| diff --git a/Source/core/html/HTMLStyleElement.cpp b/Source/core/html/HTMLStyleElement.cpp
|
| index 76f96d2f4609ea04fd568022e84e0864520628f0..d614c11d6da0b9282a2f44c0669640cef374505a 100644
|
| --- a/Source/core/html/HTMLStyleElement.cpp
|
| +++ b/Source/core/html/HTMLStyleElement.cpp
|
| @@ -58,7 +58,9 @@ HTMLStyleElement::~HTMLStyleElement()
|
| {
|
| // During tear-down, willRemove isn't called, so m_scopedStyleRegistrationState may still be RegisteredAsScoped or RegisteredInShadowRoot here.
|
| // Therefore we can't ASSERT(m_scopedStyleRegistrationState == NotRegistered).
|
| +#if !ENABLE(OILPAN)
|
| StyleElement::clearDocumentData(document(), this);
|
| +#endif
|
|
|
| styleLoadEventSender().cancelEvent(this);
|
| }
|
|
|