Title: [247791] trunk/Source/WebKit
Revision
247791
Author
[email protected]
Date
2019-07-24 14:44:32 -0700 (Wed, 24 Jul 2019)

Log Message

Module-enabled users of WKWebProcessPlugInFrame.h fail to build; duplicate declaration
https://bugs.webkit.org/show_bug.cgi?id=200095
<rdar://problem/53512407>

Reviewed by Wenson Hsieh.

* WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h:
Import <_javascript_Core/_javascript_Core.h> (the module header) instead of
<_javascript_Core/JSContext.h> directly, otherwise we can end up getting
JSContext.h included twice, to the compiler's chagrin.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (247790 => 247791)


--- trunk/Source/WebKit/ChangeLog	2019-07-24 21:39:32 UTC (rev 247790)
+++ trunk/Source/WebKit/ChangeLog	2019-07-24 21:44:32 UTC (rev 247791)
@@ -1,3 +1,16 @@
+2019-07-24  Tim Horton  <[email protected]>
+
+        Module-enabled users of WKWebProcessPlugInFrame.h fail to build; duplicate declaration
+        https://bugs.webkit.org/show_bug.cgi?id=200095
+        <rdar://problem/53512407>
+
+        Reviewed by Wenson Hsieh.
+
+        * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h:
+        Import <_javascript_Core/_javascript_Core.h> (the module header) instead of
+        <_javascript_Core/JSContext.h> directly, otherwise we can end up getting
+        JSContext.h included twice, to the compiler's chagrin.
+
 2019-07-24  Brady Eidson  <[email protected]>
 
         Crash in WebContent process with custom schemes.

Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h (247790 => 247791)


--- trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h	2019-07-24 21:39:32 UTC (rev 247790)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.h	2019-07-24 21:44:32 UTC (rev 247791)
@@ -27,7 +27,7 @@
 
 #import <CoreGraphics/CoreGraphics.h>
 #import <Foundation/Foundation.h>
-#import <_javascript_Core/JSContext.h>
+#import <_javascript_Core/_javascript_Core.h>
 
 @class _WKFrameHandle;
 @class WKWebProcessPlugInHitTestResult;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to