| Index: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
|
| index 9c7f78faeceffe615dbb4bb5903cae7780f1e345..ef9de04c93d86c39c05801174a9a7f717a3a732b 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
|
| @@ -36,6 +36,13 @@ ScriptSourceCode::ScriptSourceCode(ScriptStreamer* streamer,
|
|
|
| ScriptSourceCode::~ScriptSourceCode() {}
|
|
|
| +void ScriptSourceCode::dispose() {
|
| + m_source = String();
|
| + m_resource = nullptr;
|
| + m_streamer = nullptr;
|
| + m_url = KURL();
|
| +}
|
| +
|
| DEFINE_TRACE(ScriptSourceCode) {
|
| visitor->trace(m_resource);
|
| visitor->trace(m_streamer);
|
|
|