[Webkit-unassigned] [Bug 39958] [Qt] TextBreakIteratorQt performance
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 31 18:23:19 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39958
--- Comment #6 from Kenneth Rohde Christiansen <kenneth at webkit.org> 2010-05-31 18:23:17 PST ---
(From update of attachment 57500)
WebCore/platform/text/qt/TextBreakIteratorQt.cpp:44
+ TextBreakIterator* createBreakIterator(const UChar* string, int length, QTextBoundaryFinder::BoundaryType type )
There is a space at the end before the ), please remove.
Btw, maybe we should consider making this inline? but that might be unmeasurable anyway.
WebCore/platform/text/qt/TextBreakIteratorQt.cpp:51
+ prevlength = -1;
Wouldnt 0 do?
WebCore/platform/text/qt/TextBreakIteratorQt.cpp:55
+ // Try to reuse the iterator if it was previously inited with the same string
initialized, plus a punctuation mark at the end
--
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