Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 989619d41ad0843aa146ff90d6cec8107c1ae3a7
      
https://github.com/WebKit/WebKit/commit/989619d41ad0843aa146ff90d6cec8107c1ae3a7
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    M Source/WebCore/page/Page.cpp

  Log Message:
  -----------
  Avoid full style recalc when only the display refresh rate changes
https://bugs.webkit.org/show_bug.cgi?id=327128
rdar://189728273

Reviewed by Aditya Keerthi.

Page::windowScreenDidChange() invalidated style in all frames even when only 
the nominal frames per
second changed. Style depends on the display but not on its refresh rate, so 
only recalc style when
the display ID changes.

~2% warm PLT improvement.

* Source/WebCore/page/Page.cpp:
(WebCore::Page::windowScreenDidChange):

Canonical link: https://commits.webkit.org/323657@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to