[Webkit-unassigned] [Bug 63540] XMLDocumentParserQt.cpp incorrectly converts 0-based number into 1-based number

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 15 11:25:30 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63540


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #107501|review?                     |review+
               Flag|                            |




--- Comment #5 from Adam Barth <abarth at webkit.org>  2011-09-15 11:25:30 PST ---
(From update of attachment 107501)
View in context: https://bugs.webkit.org/attachment.cgi?id=107501&action=review

Thanks.

> Source/WebCore/html/parser/HTMLDocumentParser.cpp:451
> -    return m_tokenizer->lineNumber();
> +    return ZeroBasedNumber::fromZeroBasedInt(m_tokenizer->lineNumber());

Should m_tokenizer->lineNumber() return a ZeroBasedNumber ?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list