Bug 212159 - Plumb the display's nominal refresh rate down to ScrollingTree for use in scroll synchronization
Summary: Plumb the display's nominal refresh rate down to ScrollingTree for use in scr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-05-20 11:44 PDT by Simon Fraser (smfr)
Modified: 2020-05-20 13:23 PDT (History)
14 users (show)

See Also:


Attachments
Patch (25.77 KB, patch)
2020-05-20 11:49 PDT, Simon Fraser (smfr)
thorton: review+
Details | Formatted Diff | Diff
Patch (28.23 KB, patch)
2020-05-20 12:23 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2020-05-20 11:44:44 PDT
Plumb the display's nominal refresh rate down to ScrollingTree for use in scroll synchronization
Comment 1 Simon Fraser (smfr) 2020-05-20 11:49:36 PDT
Created attachment 399864 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2020-05-20 11:50:39 PDT
<rdar://problem/63457216>
Comment 3 Tim Horton 2020-05-20 12:08:51 PDT
Comment on attachment 399864 [details]
Patch

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

> Source/WebKit/UIProcess/Cocoa/WebViewImpl.mm:2125
> -    m_page->windowScreenDidChange([[[[window screen] deviceDescription] objectForKey:@"NSScreenNumber"] intValue]);
> +    PlatformDisplayID displayID = [[[[window screen] deviceDescription] objectForKey:@"NSScreenNumber"] intValue];

Dots!
Comment 4 Simon Fraser (smfr) 2020-05-20 12:23:12 PDT
Created attachment 399872 [details]
Patch
Comment 5 EWS 2020-05-20 13:23:42 PDT
Committed r261948: <https://trac.webkit.org/changeset/261948>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399872 [details].