Bug 173763 - Make RenderLayer::handleTouchEvent use usesAcceleratedScrolling()
Summary: Make RenderLayer::handleTouchEvent use usesAcceleratedScrolling()
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Frédéric Wang (:fredw)
Depends on:
Blocks: 149264
  Show dependency treegraph
Reported: 2017-06-23 03:34 PDT by Frédéric Wang (:fredw)
Modified: 2017-06-23 12:13 PDT (History)
1 user (show)

See Also:

Patch (1.53 KB, patch)
2017-06-23 03:36 PDT, Frédéric Wang (:fredw)
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2017-06-23 03:34:11 PDT
Currently, the code is:

  // If we have accelerated scrolling, let the scrolling be handled outside of WebKit.
  if (hasTouchScrollableOverflow())

on iOS hasTouchScrollableOverflow() is equivalent to usesAcceleratedScrolling(), so we could do that minor change for code clarity.
Comment 1 Frédéric Wang (:fredw) 2017-06-23 03:36:32 PDT
Created attachment 313703 [details]
Comment 2 Frédéric Wang (:fredw) 2017-06-23 12:13:51 PDT
Committed r218756: <http://trac.webkit.org/changeset/218756>