| Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| index 79aa610af8b5a94f7ffb6286775e4c5fd2e48fe6..31b569854020a6170bd15e6e55e09323245bc5b1 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| @@ -196,8 +196,7 @@ TEST_F(ScriptStreamingTest, CancellingStreaming) {
|
| // Simulate cancelling the network load (e.g., because the user navigated
|
| // away).
|
| EXPECT_FALSE(client->finished());
|
| - getPendingScript()->stopWatchingForLoad();
|
| - getPendingScript()->releaseElementAndClear();
|
| + getPendingScript()->dispose();
|
| m_pendingScript = nullptr; // This will destroy m_resource.
|
| m_resource = nullptr;
|
|
|
|
|