Index: Source/bindings/v8/ScriptController.cpp |
diff --git a/Source/bindings/v8/ScriptController.cpp b/Source/bindings/v8/ScriptController.cpp |
index f9c10f02b3a4380cccb4f306f05b2ededf23dff2..d20f337e62514ab912105acb5cbfcbba9b69a3ff 100644 |
--- a/Source/bindings/v8/ScriptController.cpp |
+++ b/Source/bindings/v8/ScriptController.cpp |
@@ -599,7 +599,7 @@ bool ScriptController::executeScriptIfJavaScriptURL(const KURL& url) |
const int javascriptSchemeLength = sizeof("javascript:") - 1; |
- bool locationChangeBefore = m_frame->navigationScheduler()->locationChangePending(); |
+ bool locationChangeBefore = m_frame->navigationScheduler().locationChangePending(); |
String decodedURL = decodeURLEscapeSequences(url.string()); |
ScriptValue result = evaluateScriptInMainWorld(ScriptSourceCode(decodedURL.substring(javascriptSchemeLength)), NotSharableCrossOrigin, DoNotExecuteScriptWhenScriptsDisabled); |
@@ -616,7 +616,7 @@ bool ScriptController::executeScriptIfJavaScriptURL(const KURL& url) |
// We're still in a frame, so there should be a DocumentLoader. |
ASSERT(m_frame->document()->loader()); |
- if (!locationChangeBefore && m_frame->navigationScheduler()->locationChangePending()) |
+ if (!locationChangeBefore && m_frame->navigationScheduler().locationChangePending()) |
return true; |
// DocumentWriter::replaceDocument can cause the DocumentLoader to get deref'ed and possible destroyed, |