Skip to content

Commit b85ba62

Browse files
authored
browser(webkit): actually fix mac compilation (#4105)
1 parent 9801be6 commit b85ba62

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

browser_patches/webkit/BUILD_NUMBER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1349
2-
Changed: [email protected] Fri Oct 9 11:12:07 PDT 2020
1+
1350
2+
Changed: [email protected] Fri Oct 9 13:05:31 PDT 2020

browser_patches/webkit/patches/bootstrap.diff

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7053,15 +7053,27 @@ index 66bf24df826daa8e7284248fd1b728cb5ebff343..d40f4f4be2bf76fa300cb54a06e81ff5
70537053

70547054
#if PLATFORM(MAC)
70557055

7056+
diff --git a/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.h b/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.h
7057+
index 06f8f1f762e89686fc5dc3fc890f13e0b363d333..68363fd83bac76b0f879ae48a54a862d715d685f 100644
7058+
--- a/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.h
7059+
+++ b/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.h
7060+
@@ -30,6 +30,7 @@ NS_ASSUME_NONNULL_BEGIN
7061+
7062+
@class _WKUserContentWorld;
7063+
@class WKWebView;
7064+
+@class WKContentWorld;
7065+
7066+
typedef NS_ENUM(NSInteger, _WKUserStyleLevel) {
7067+
_WKUserStyleUserLevel,
70567068
diff --git a/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.mm b/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.mm
7057-
index 0684412b1351f30a5d484f909d7a4b97a71ca426..458635a33f903613eff76923105029f1bafedbfc 100644
7069+
index 0684412b1351f30a5d484f909d7a4b97a71ca426..33daa49f590a614d2122477e4987f58af3b1b8ca 100644
70587070
--- a/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.mm
70597071
+++ b/Source/WebKit/UIProcess/API/Cocoa/_WKUserStyleSheet.mm
70607072
@@ -33,6 +33,7 @@
70617073
#import "WebKit2Initialize.h"
70627074
#import "WebPageProxy.h"
70637075
#import "_WKUserContentWorldInternal.h"
7064-
+#import <WebKit/WKContentWorld.h>
7076+
+#import <WebKit/WKContentWorldInternal.h>
70657077
#import <wtf/cocoa/VectorCocoa.h>
70667078

70677079
@implementation _WKUserStyleSheet

0 commit comments

Comments
 (0)