Originally I was going to make WebDatabaseManagerClient use a weak observer with CFNotificationCenter, but this isn't needed since it uses a singleton pattern.
So what's left is a bit of clean-up:
- Put WebDatabaseManagerClient in C++ namespace of "WebKit".
- Change WebDatabaseManagerClient::sharedWebDatabaseManagerClient() to use NeverDestroyed<> and to return a reference.
Created attachment 440875 [details]
(In reply to David Kilzer (:ddkilzer) from comment #2)
> Created attachment 440875 [details]
> Patch v1
The `api-gtk` failures are likely unrelated to this change as the `gtk` build succeeds.
The WebDatabaseManagerClient class is not used by GTK.
Comment on attachment 440875 [details]
Committed r284177 (242994@main): <https://commits.webkit.org/242994@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 440875 [details].