Changeset 73975 in webkit
- Timestamp:
- Dec 13, 2010 3:20:55 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r73973 r73975 1 2010-12-13 Joone Hur <joone@kldp.org> 2 3 Reviewed by Eric Seidel. 4 5 WebKit fails to compile when building with WML support enabled 6 https://bugs.webkit.org/show_bug.cgi?id=42943 7 8 Use TextPosition instead of lineNumber() and columNumber(). 9 10 No new tests are added, because this is just a build fix. 11 12 * dom/XMLDocumentParser.h: Make lineNumber() private. 13 * wml/WMLErrorHandling.cpp: 14 (WebCore::reportWMLError): Use TextPosition instead of lineNumber() and columnNumber(). 15 1 16 2010-12-13 Chris Fleizach <cfleizach@apple.com> 2 17 -
trunk/WebCore/dom/XMLDocumentParser.h
r71735 r73975 102 102 // WMLErrorHandling uses these functions. 103 103 virtual bool wellFormed() const { return !m_sawError; } 104 virtual int lineNumber() const;105 104 TextPosition0 textPosition() const; 106 105 … … 119 118 virtual void stopParsing(); 120 119 virtual void detach(); 120 virtual int lineNumber() const; 121 int columnNumber() const; 121 122 122 123 // from CachedResourceClient … … 130 131 bool appendFragmentSource(const String&); 131 132 132 int columnNumber() const;133 133 134 134 // This method is introduced to temporary legalize existing line/column -
trunk/WebCore/wml/WMLErrorHandling.cpp
r61104 r73975 49 49 return; 50 50 51 parser->handleError(XMLDocumentParser::fatal, errorMessage.latin1().data(), parser-> lineNumber(), parser->columnNumber());51 parser->handleError(XMLDocumentParser::fatal, errorMessage.latin1().data(), parser->textPosition().m_line.zeroBasedInt(), parser->textPosition().m_column.zeroBasedInt()); 52 52 } else { 53 53 Frame* frame = doc->frame();
Note: See TracChangeset
for help on using the changeset viewer.