diff options
Diffstat (limited to 'WebCore/wml/WMLErrorHandling.cpp')
-rw-r--r-- | WebCore/wml/WMLErrorHandling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/wml/WMLErrorHandling.cpp b/WebCore/wml/WMLErrorHandling.cpp index 8532822..dc0b8df 100644 --- a/WebCore/wml/WMLErrorHandling.cpp +++ b/WebCore/wml/WMLErrorHandling.cpp @@ -48,7 +48,7 @@ void reportWMLError(Document* doc, WMLErrorCode error) if (!parser->wellFormed()) return; - parser->handleError(XMLDocumentParser::fatal, errorMessage.latin1().data(), parser->lineNumber(), parser->columnNumber()); + parser->handleError(XMLDocumentParser::fatal, errorMessage.latin1().data(), parser->textPosition().m_line.zeroBasedInt(), parser->textPosition().m_column.zeroBasedInt()); } else { Frame* frame = doc->frame(); if (!frame) |