summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/DocumentLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/DocumentLoader.cpp')
-rw-r--r--WebCore/loader/DocumentLoader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/loader/DocumentLoader.cpp b/WebCore/loader/DocumentLoader.cpp
index 21c2e27..990c48a 100644
--- a/WebCore/loader/DocumentLoader.cpp
+++ b/WebCore/loader/DocumentLoader.cpp
@@ -50,7 +50,7 @@
#include "PlatformString.h"
#include "Settings.h"
#include "SharedBuffer.h"
-#include "XMLTokenizer.h"
+#include "XMLDocumentParser.h"
#include <wtf/Assertions.h>
#include <wtf/unicode/Unicode.h>
@@ -259,7 +259,7 @@ void DocumentLoader::commitIfReady()
{
if (m_gotFirstByte && !m_committed) {
m_committed = true;
- frameLoader()->commitProvisionalLoad(0);
+ frameLoader()->commitProvisionalLoad();
}
}
@@ -399,8 +399,8 @@ bool DocumentLoader::isLoadingInAPISense() const
Document* doc = m_frame->document();
if (doc->docLoader()->requestCount())
return true;
- if (Tokenizer* tok = doc->tokenizer())
- if (tok->processingData())
+ if (DocumentParser* parser = doc->parser())
+ if (parser->processingData())
return true;
}
return frameLoader()->subframeIsLoading();