[Webkit-unassigned] [Bug 48988] Delegate scrolling via a separate method

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 4 08:27:19 PDT 2010


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





--- Comment #4 from Adam Roben (aroben) <aroben at apple.com>  2010-11-04 08:27:19 PST ---
(From update of attachment 72933)
View in context: https://bugs.webkit.org/attachment.cgi?id=72933&action=review

> WebCore/platform/ScrollView.cpp:340
> +    IntPoint newScrollPosition = scrollPoint.shrunkTo(maximumScrollPosition());
> +    newScrollPosition.clampNegativeToZero();
> +
> +#if ENABLE(TILED_BACKING_STORE)
>      if (delegatesScrolling()) {
> -        scrollContents(IntSize(scrollPoint.x(), scrollPoint.y()));
> +        hostWindow()->delegatedScrollRequested(IntSize(scrollPoint.x(), scrollPoint.y()));
>          return;
>      }
> -
> -    IntPoint newScrollPosition = scrollPoint.shrunkTo(maximumScrollPosition());
> -    newScrollPosition.clampNegativeToZero();
> +#endif

Looks like you removed the call to scrollContents entirely, even in the non-tiled case.

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