Index: Source/core/html/parser/HTMLDocumentParser.cpp |
diff --git a/Source/core/html/parser/HTMLDocumentParser.cpp b/Source/core/html/parser/HTMLDocumentParser.cpp |
index 072db685711e48bf88767eeff8aff0ecea06b28c..e0dfa89524655f0744cc7d8863a4958c941c38a3 100644 |
--- a/Source/core/html/parser/HTMLDocumentParser.cpp |
+++ b/Source/core/html/parser/HTMLDocumentParser.cpp |
@@ -288,7 +288,7 @@ bool HTMLDocumentParser::canTakeNextToken(SynchronousMode mode, PumpSession& ses |
// parser to stop parsing cleanly. The problem is we're not |
// perpared to do that at every point where we run JavaScript. |
if (!isParsingFragment() |
- && document()->frame() && document()->frame()->navigationScheduler()->locationChangePending()) |
+ && document()->frame() && document()->frame()->navigationScheduler().locationChangePending()) |
return false; |
if (mode == AllowYield) |
@@ -411,7 +411,7 @@ void HTMLDocumentParser::processParsedChunkFromBackgroundParser(PassOwnPtr<Parse |
ASSERT(!isWaitingForScripts()); |
if (!isParsingFragment() |
- && document()->frame() && document()->frame()->navigationScheduler()->locationChangePending()) { |
+ && document()->frame() && document()->frame()->navigationScheduler().locationChangePending()) { |
// To match main-thread parser behavior (which never checks locationChangePending on the EOF path) |
// we peek to see if this chunk has an EOF and process it anyway. |