[webkit-changes] [WebKit/WebKit] 130add: Let compiler generate bit offsets for LayerChange ...

Alex Christensen noreply at github.com
Wed Aug 9 10:10:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 130add549cb8585d17f7f3b4ab39930d52ee3648
      https://github.com/WebKit/WebKit/commit/130add549cb8585d17f7f3b4ab39930d52ee3648
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/LayerProperties.h

  Log Message:
  -----------
  Let compiler generate bit offsets for LayerChange enum values
https://bugs.webkit.org/show_bug.cgi?id=259976

Reviewed by Megan Gardner and Mike Wyrzykowski.

For the bit offsets with ENABLE macros, use a parallel enum to let the compiler
generate the immediate next offsets independent of which features are enabled.

* Source/WebKit/Shared/RemoteLayerTree/LayerProperties.h:

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




More information about the webkit-changes mailing list