[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
Fri Sep 16 11:46:01 PDT 2011


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





--- Comment #10 from Peter Rybin <peter.rybin at gmail.com>  2011-09-16 11:46:01 PST ---
> > Source/WebCore/html/parser/HTMLDocumentParser.cpp:451
> > -    return m_tokenizer->lineNumber();
> > +    return ZeroBasedNumber::fromZeroBasedInt(m_tokenizer->lineNumber());
> 
> Should m_tokenizer->lineNumber() return a ZeroBasedNumber ?

I think so. I'm going to change it in the next bug/patch. However I realize that I won't be able to replace all integers with *BasedNumbers myself everywhere.

-- 
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