summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/XMLDocumentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/XMLDocumentParser.h')
-rw-r--r--WebCore/dom/XMLDocumentParser.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/dom/XMLDocumentParser.h b/WebCore/dom/XMLDocumentParser.h
index a6cc9a0..e7e209a 100644
--- a/WebCore/dom/XMLDocumentParser.h
+++ b/WebCore/dom/XMLDocumentParser.h
@@ -201,6 +201,11 @@ namespace WebCore {
static bool parseDocumentFragment(const String&, DocumentFragment*, Element* parent = 0, FragmentScriptingPermission = FragmentScriptingAllowed);
+ // WMLErrorHandling uses these functions.
+ virtual bool wellFormed() const { return !m_sawError; }
+ virtual int lineNumber() const;
+ virtual int columnNumber() const;
+
private:
// From DocumentParser
virtual void insert(const SegmentedString&);
@@ -209,9 +214,6 @@ namespace WebCore {
virtual bool finishWasCalled();
virtual bool isWaitingForScripts() const;
virtual void stopParsing();
- virtual bool wellFormed() const { return !m_sawError; }
- virtual int lineNumber() const;
- virtual int columnNumber() const;
// from CachedResourceClient
virtual void notifyFinished(CachedResource*);