BUILD FIX (r144662): Import JSBase.h in WebFrameLoadDelegate.h
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2013 05:27:04 +0000 (05:27 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2013 05:27:04 +0000 (05:27 +0000)
<http://webkit.org/b/111269>

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:41:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
    #if JSC_OBJC_API_ENABLED
        ^
    Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:207:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
    #if JSC_OBJC_API_ENABLED
        ^
    2 errors generated.

* WebView/WebFrameLoadDelegate.h: Include JSBase.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144717 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebFrameLoadDelegate.h

index 8968311771d76f4ee4ebfd5ff2e21afbfc526bc2..957e4d813cecea55ad3b325b8dcad9bae7e28415 100644 (file)
@@ -1,3 +1,22 @@
+2013-03-04  David Kilzer  <ddkilzer@apple.com>
+
+        BUILD FIX (r144662): Import JSBase.h in WebFrameLoadDelegate.h
+        <http://webkit.org/b/111269>
+
+        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:41:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
+            #if JSC_OBJC_API_ENABLED
+                ^
+            Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:207:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
+            #if JSC_OBJC_API_ENABLED
+                ^
+            2 errors generated.
+
+        * WebView/WebFrameLoadDelegate.h: Include JSBase.h.
+
 2013-03-04  Chris Fleizach  <cfleizach@apple.com>
 
         Support WebSpeech - Speech Synthesis
index 12b597f2a1b35651f7655dfe2b9db826cc1c9a64..54753ce61ce89c81cc1f8ddf3142c9279371ee5f 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #import <Cocoa/Cocoa.h>
+#import <JavaScriptCore/JSBase.h>
 #import <JavaScriptCore/WebKitAvailability.h>
 
 @class NSError;