[Webkit-unassigned] [Bug 17179] [wx] Use PlatformWheelEvent for handling scroll wheel events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 5 14:52:34 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17179
darin at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #18923|review? |review+
Flag| |
------- Comment #2 from darin at apple.com 2008-02-05 14:52 PDT -------
(From update of attachment 18923)
Looks fine, r=me.
+IntSize ScrollView::maximumScroll() const
+{
+ IntSize delta = (IntSize(contentsWidth(), contentsHeight()) -
IntSize(visibleWidth(), visibleHeight())) - scrollOffset();
+ delta.clampNegativeToZero();
+ return delta;
+}
Is there a guarantee that this can't overflow?
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list