[Webkit-unassigned] [Bug 81408] visual word movement: using cache to decrease the number of collectLeafBoxesInLogicalOrder on RootInlineBox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 21 15:14:59 PDT 2012


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


Ryosuke Niwa <rniwa at webkit.org> changed:

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




--- Comment #9 from Ryosuke Niwa <rniwa at webkit.org>  2012-03-21 15:14:59 PST ---
(From update of attachment 133120)
View in context: https://bugs.webkit.org/attachment.cgi?id=133120&action=review

>> Source/WebCore/editing/visible_units.cpp:407
>> +            iter = wordBreakIteratorForMinOffsetBoundary(visiblePosition, textBox, previousBoxLength, previousBoxInDifferentBlock, string, leafBoxes);
> 
> After sync, this function's parameter becomes a bit lengthy. Do you think it is better to inline those 2 functions (wordBreakIteratorForMinOffsetBoundary and wordBreakIteratorForMaxOffsetBoundary) or worth to introduce a struct to hold those parameters? Neither of them sounds elegant for me.

We can do that in a follow up patch :)

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