Skip to content

Commit

Permalink
browser(webkit): fix mac compilation (#3598)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored Aug 24, 2020
1 parent 2b3a1ae commit 4f1f972
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions browser_patches/webkit/BUILD_NUMBER
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1328
Changed: [email protected] Fri Aug 21 19:21:58 PDT 2020
1329
Changed: [email protected] Mon Aug 24 08:55:27 PDT 2020
6 changes: 3 additions & 3 deletions browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ - (_WKBrowserContext *)createBrowserContext:(NSString *)proxyServer WithBypassLi
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;
}
Expand Down

0 comments on commit 4f1f972

Please sign in to comment.