Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e1971d5e04a29156280f2f3921ff0776f59a7cc
      
https://github.com/WebKit/WebKit/commit/9e1971d5e04a29156280f2f3921ff0776f59a7cc
  Author: Etienne Segonzac <[email protected]>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M 
Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm

  Log Message:
  -----------
  The `WKInteractionRegionDebugFill` user default should be cached like the 
others
https://bugs.webkit.org/show_bug.cgi?id=292281
<rdar://150200937>

Reviewed by Tim Horton and Simon Fraser.

It's cheap but in a hot path. Use the same static/dipatch_once method
we use for `WKInteractionRegionBrightnessMultiplier` to expose
`WKInteractionRegionDebugFill`.

* 
Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeInteractionRegionLayers.mm:
(WebKit::interactionRegionEffectUserInfo):
(WebKit::brightnessMultiplier):
Remove needless dipatch_once.
(WebKit::applyBackgroundColorForDebugging):
(WebKit::updateLayersForInteractionRegions):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to