[Webkit-unassigned] [Bug 58411] Merge LineOffsets and LineWidth

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 13 11:56:07 PDT 2011


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





--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org>  2011-04-13 11:56:06 PST ---
(In reply to comment #3)
> I'm not sure I fully understand the motivation of this change.  I can't tell if the code is better with it or not.

LineOffsets is used only to compute m_availableWidth, which is a member variable of LineWidth.  Combining these two classes allow us to encapsulate mutations of m_availableWidth entirely, and hide left/right mechanism we use internally to figure out the correct available width.

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