Title: [160298] trunk/Tools
Revision
160298
Author
wei...@apple.com
Date
2013-12-08 20:51:32 -0800 (Sun, 08 Dec 2013)

Log Message

32-bit MiniBrowser doesn't build
https://bugs.webkit.org/show_bug.cgi?id=125420

Reviewed by Dan Bernstein.

* MiniBrowser/mac/AppDelegate.h:
* MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate init]):
(-[BrowserAppDelegate applicationWillTerminate:]):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (160297 => 160298)


--- trunk/Tools/ChangeLog	2013-12-09 04:23:16 UTC (rev 160297)
+++ trunk/Tools/ChangeLog	2013-12-09 04:51:32 UTC (rev 160298)
@@ -1,3 +1,15 @@
+2013-12-08  Sam Weinig  <s...@webkit.org>
+
+        32-bit MiniBrowser doesn't build
+        https://bugs.webkit.org/show_bug.cgi?id=125420
+
+        Reviewed by Dan Bernstein.
+
+        * MiniBrowser/mac/AppDelegate.h:
+        * MiniBrowser/mac/AppDelegate.m:
+        (-[BrowserAppDelegate init]):
+        (-[BrowserAppDelegate applicationWillTerminate:]):
+
 2013-12-08  Brian Holt  <brian.h...@samsung.com>
 
         [WK2] Add ENABLE_NETWORK_PROCESS flag

Modified: trunk/Tools/MiniBrowser/mac/AppDelegate.h (160297 => 160298)


--- trunk/Tools/MiniBrowser/mac/AppDelegate.h	2013-12-09 04:23:16 UTC (rev 160297)
+++ trunk/Tools/MiniBrowser/mac/AppDelegate.h	2013-12-09 04:51:32 UTC (rev 160298)
@@ -23,10 +23,13 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#import <WebKit2/WebKit2.h>
+
 @interface BrowserAppDelegate : NSObject <NSApplicationDelegate> {
+#if WK_API_ENABLED
     WKProcessGroup *_processGroup;
     WKBrowsingContextGroup *_browsingContextGroup;
-
+#endif
     NSMutableSet *_browserWindows;
 }
 

Modified: trunk/Tools/MiniBrowser/mac/AppDelegate.m (160297 => 160298)


--- trunk/Tools/MiniBrowser/mac/AppDelegate.m	2013-12-09 04:23:16 UTC (rev 160297)
+++ trunk/Tools/MiniBrowser/mac/AppDelegate.m	2013-12-09 04:51:32 UTC (rev 160298)
@@ -45,8 +45,10 @@
 {
     self = [super init];
     if (self) {
+#if WK_API_ENABLED
         _processGroup = [[WKProcessGroup alloc] init];
         _browsingContextGroup = [[WKBrowsingContextGroup alloc] initWithIdentifier:@"MiniBrowser"];
+#endif
         _browserWindows = [[NSMutableSet alloc] init];
     }
 
@@ -92,11 +94,13 @@
         [controller applicationTerminating];
     }
 
+#if WK_API_ENABLED
     [_processGroup release];
     _processGroup = nil;
 
     [_browsingContextGroup release];
     _browsingContextGroup = nil;
+#endif
 }
 
 - (BrowserWindowController *)frontmostBrowserWindowController
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to