Title: [144545] trunk/Source/WebKit/mac
- Revision
- 144545
- Author
- [email protected]
- Date
- 2013-03-02 15:36:00 -0800 (Sat, 02 Mar 2013)
Log Message
BUILD FIX (r143637): Predeclare JSContext as an Objective-C class
<http://webkit.org/b/106059>
Fixes the following build failure:
In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:215:64: error: expected a type
- (void)webView:(WebView *)webView didCreateJavaScriptContext:(JSContext *)context forFrame:(WebFrame *)frame;
^
1 error generated.
* WebView/WebFrameLoadDelegate.h: Add @class JSContext
declaration.
Modified Paths
Diff
Modified: trunk/Source/WebKit/mac/ChangeLog (144544 => 144545)
--- trunk/Source/WebKit/mac/ChangeLog 2013-03-02 21:06:57 UTC (rev 144544)
+++ trunk/Source/WebKit/mac/ChangeLog 2013-03-02 23:36:00 UTC (rev 144545)
@@ -1,3 +1,20 @@
+2013-03-02 David Kilzer <[email protected]>
+
+ BUILD FIX (r143637): Predeclare JSContext as an Objective-C class
+ <http://webkit.org/b/106059>
+
+ Fixes the following build failure:
+
+ In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
+ In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
+ Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:215:64: error: expected a type
+ - (void)webView:(WebView *)webView didCreateJavaScriptContext:(JSContext *)context forFrame:(WebFrame *)frame;
+ ^
+ 1 error generated.
+
+ * WebView/WebFrameLoadDelegate.h: Add @class JSContext
+ declaration.
+
2013-02-28 Alexey Proskuryakov <[email protected]>
Reduce amount of rebuilding when touching networking headers
Modified: trunk/Source/WebKit/mac/WebView/WebFrameLoadDelegate.h (144544 => 144545)
--- trunk/Source/WebKit/mac/WebView/WebFrameLoadDelegate.h 2013-03-02 21:06:57 UTC (rev 144544)
+++ trunk/Source/WebKit/mac/WebView/WebFrameLoadDelegate.h 2013-03-02 23:36:00 UTC (rev 144545)
@@ -34,6 +34,10 @@
@class WebScriptObject;
@class WebView;
+#if JSC_OBJC_API_ENABLED
+@class JSContext;
+#endif
+
/*!
@category WebFrameLoadDelegate
@discussion A WebView's WebFrameLoadDelegate tracks the loading progress of its frames.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes