From 4f1f972143180dd9a752a79c621dfc085e7f01a3 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 24 Aug 2020 08:56:33 -0700 Subject: [PATCH] browser(webkit): fix mac compilation (#3598) --- browser_patches/webkit/BUILD_NUMBER | 4 ++-- .../webkit/embedder/Playwright/mac/AppDelegate.m | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBER index 598f56ef57..188b1740c2 100644 --- a/browser_patches/webkit/BUILD_NUMBER +++ b/browser_patches/webkit/BUILD_NUMBER @@ -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 diff --git a/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m b/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m index 19ed71c861..e9a16afaa6 100644 --- a/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m +++ b/browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m @@ -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; }