| 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 f3eb537e42adb7bd885316aae6fffbcb2c5d054c..4507e23771232f77eff96ac701cb9f45a30af28f 100644
|
| --- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
|
| @@ -218,9 +218,7 @@ bool PendingScript::errorOccurred() const {
|
| return false;
|
| }
|
|
|
| -void PendingScript::onMemoryStateChange(MemoryState state) {
|
| - if (state != MemoryState::SUSPENDED)
|
| - return;
|
| +void PendingScript::onPurgeMemory() {
|
| if (!m_streamer)
|
| return;
|
| m_streamer->cancel();
|
|
|