[webkit-reviews] review granted: [Bug 198294] Use scroll-velocity-based tile coverage for overflow:scroll : [Attachment 370788] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 28 15:23:23 PDT 2019

Tim Horton <thorton at apple.com> has granted Simon Fraser (smfr)
<simon.fraser at apple.com>'s request for review:
Bug 198294: Use scroll-velocity-based tile coverage for overflow:scroll

Attachment 370788: Patch


--- Comment #16 from Tim Horton <thorton at apple.com> ---
Comment on attachment 370788
  --> https://bugs.webkit.org/attachment.cgi?id=370788

View in context: https://bugs.webkit.org/attachment.cgi?id=370788&action=review

> Source/WebCore/platform/graphics/ca/TileController.cpp:433
> +    // FIXME: look at how far the document can scroll in each dimension.

Capital L :D

> Source/WebCore/platform/graphics/ca/TileController.cpp:455
> +    auto expandRectWithinRect = [](const FloatRect& rect, const FloatSize&
newSize, const FloatRect& constrainingRect) {

Why this lambda? It's only called once and doesn't make use of early returns or

More information about the webkit-reviews mailing list