| 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 f23b31e3a9bb011c0a39d9ebe0bb93cf4b0c1c29..246e3260e2ac618e8c70291106713f6d9169b5f1 100644
|
| --- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| @@ -47,12 +47,11 @@
|
| , m_client(nullptr)
|
| {
|
| setScriptResource(resource);
|
| + ThreadState::current()->registerPreFinalizer(this);
|
| }
|
|
|
| PendingScript::~PendingScript()
|
| {
|
| - // Verify explicit dispose().
|
| - CHECK(!m_client && !m_element && !m_streamer);
|
| }
|
|
|
| void PendingScript::dispose()
|
|
|