| Index: third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/PendingScript.cpp b/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| index 7c346a76a856bf78a012bedbd68c901918feb532..66750c67186de7e67d29215f1f0c798d1637f81f 100644
|
| --- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| @@ -47,12 +47,11 @@ PendingScript::PendingScript(Element* element, ScriptResource* resource)
|
| , m_client(nullptr)
|
| {
|
| setScriptResource(resource);
|
| + ThreadState::current()->registerPreFinalizer(this);
|
| }
|
|
|
| PendingScript::~PendingScript()
|
| {
|
| - // Verify explicit dispose().
|
| - CHECK(!m_client && !m_element && !m_streamer);
|
| }
|
|
|
| void PendingScript::dispose()
|
|
|