Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Qt] Initialize QtWebContext as much as we can in its constructor.
https://bugs.webkit.org/show_bug.cgi?id=79809 Reviewed by Tor Arne Vestbø. The icon database wouldn't be initialized on the QtWebContext while in WebKitTestRunner since it doesn't call the initialize method on it after creating it. Remove the initialize method, move the download manager and icon database initialization in the constructor and call initializeContextInjectedBundleClient directly in defaultContext to prevent overriding WKTR's injected bundle client. * UIProcess/qt/QtWebContext.cpp: (WebKit::QtWebContext::QtWebContext): (WebKit::QtWebContext::defaultContext): * UIProcess/qt/QtWebContext.h: (QtWebContext): Canonical link: https://commits.webkit.org/96882@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
25 additions
and 11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters