[webkit-changes] [WebKit/WebKit] ae4bc1: Ensure InitializeWebKit2 is called before allocati...

David Degazio noreply at github.com
Wed Oct 16 15:40:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ae4bc135bbb4d8f8d5da23a31aeda69ec7d7552e
      https://github.com/WebKit/WebKit/commit/ae4bc135bbb4d8f8d5da23a31aeda69ec7d7552e
  Author: David Degazio <d_degazio at apple.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesFeatures.cpp.erb
    M Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesStoreDefaultsMap.cpp.erb

  Log Message:
  -----------
  Ensure InitializeWebKit2 is called before allocating API::Features in WebPreferencesFeatures.cpp
https://bugs.webkit.org/show_bug.cgi?id=281537
rdar://138003594

Reviewed by Mark Lam.

Changes the way we initialize the WebPreferences feature list to ensure
InitializeWebKit2() is called before constructing the API::Features,
or the defaults map in the Preferences store, since these functions are
potentially reachable before we do initialization elsewhere.

* Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesFeatures.cpp.erb:
* Source/WebKit/Scripts/PreferencesTemplates/WebPreferencesStoreDefaultsMap.cpp.erb:

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



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


More information about the webkit-changes mailing list