| 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 b267c12ea9047faca0ba319ac834b04f79b870f9..9a51bf9df9e4d7357e1e436885a160672955fac7 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp
|
| @@ -39,6 +39,12 @@ public:
|
| ScriptStreamer::setSmallScriptThresholdForTesting(0);
|
| }
|
|
|
| + ~ScriptStreamingTest()
|
| + {
|
| + if (m_pendingScript)
|
| + m_pendingScript->dispose();
|
| + }
|
| +
|
| ScriptState* getScriptState() const { return m_scope.getScriptState(); }
|
| v8::Isolate* isolate() const { return m_scope.isolate(); }
|
|
|
|
|