diff options
Diffstat (limited to 'third_party/WebKit/Source/bindings/v8/ScriptController.cpp')
| -rw-r--r-- | third_party/WebKit/Source/bindings/v8/ScriptController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/bindings/v8/ScriptController.cpp b/third_party/WebKit/Source/bindings/v8/ScriptController.cpp index 18e21cc..396b022 100644 --- a/third_party/WebKit/Source/bindings/v8/ScriptController.cpp +++ b/third_party/WebKit/Source/bindings/v8/ScriptController.cpp @@ -649,7 +649,7 @@ bool ScriptController::executeScriptIfJavaScriptURL(const KURL& url) if (!locationChangeBefore && m_frame->navigationScheduler()->locationChangePending()) return true; - + // DocumentWriter::replaceDocument can cause the DocumentLoader to get deref'ed and possible destroyed, // so protect it with a RefPtr. if (RefPtr<DocumentLoader> loader = m_frame->document()->loader()) |
