Bug 212159

Summary: Plumb the display's nominal refresh rate down to ScrollingTree for use in scroll synchronization
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, ews-watchlist, fred.wang, gyuyoung.kim, jamesr, luiz, noam, ryuan.choi, sergio, simon.fraser, thorton, tonikitoo, webkit-bug-importer, zeno
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
thorton: review+
Patch none

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