browser(webkit): fix mac compilation (#3598)

This commit is contained in:
Yury Semikhatsky 2020-08-24 08:56:33 -07:00 committed by GitHub
parent 2b3a1ae9c6
commit 4f1f972143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -1,2 +1,2 @@
1328
Changed: yurys@chromium.org Fri Aug 21 19:21:58 PDT 2020
1329
Changed: yurys@chromium.org Mon Aug 24 08:55:27 PDT 2020

View file

@ -333,9 +333,9 @@ const NSActivityOptions ActivityOptions =
if (!proxyBypassList || ![proxyBypassList length])
proxyBypassList = _proxyBypassList;
[dataStoreConfiguration setProxyConfiguration:[self proxyConfiguration:proxyServer WithBypassList:proxyBypassList]];
browserContext->dataStore = [[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration];
browserContext->processPool = [[[WKProcessPool alloc] _initWithConfiguration:processConfiguration] autorelease];
[browserContext->processPool _setDownloadDelegate:self];
browserContext.dataStore = [[WKWebsiteDataStore alloc] _initWithConfiguration:dataStoreConfiguration];
browserContext.processPool = [[[WKProcessPool alloc] _initWithConfiguration:processConfiguration] autorelease];
[browserContext.processPool _setDownloadDelegate:self];
[_browserContexts addObject:browserContext];
return browserContext;
}