Title: [203089] trunk/Source/WebKit2
Revision
203089
Author
[email protected]
Date
2016-07-11 15:51:24 -0700 (Mon, 11 Jul 2016)

Log Message

Tried to fix the macOS build.

* UIProcess/API/Cocoa/WKNavigationAction.mm:
(-[WKNavigationAction description]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (203088 => 203089)


--- trunk/Source/WebKit2/ChangeLog	2016-07-11 22:35:51 UTC (rev 203088)
+++ trunk/Source/WebKit2/ChangeLog	2016-07-11 22:51:24 UTC (rev 203089)
@@ -1,5 +1,12 @@
 2016-07-11  Dan Bernstein  <[email protected]>
 
+        Tried to fix the macOS build.
+
+        * UIProcess/API/Cocoa/WKNavigationAction.mm:
+        (-[WKNavigationAction description]):
+
+2016-07-11  Dan Bernstein  <[email protected]>
+
         Cleaned up API availability.
 
         Requested by Tim Horton.

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.mm (203088 => 203089)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.mm	2016-07-11 22:35:51 UTC (rev 203088)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.mm	2016-07-11 22:51:24 UTC (rev 203089)
@@ -125,7 +125,13 @@
 - (NSString *)description
 {
     return [NSString stringWithFormat:@"<%@: %p; navigationType = %ld; syntheticClickType = %ld; request = %@; sourceFrame = %@; targetFrame = %@>", NSStringFromClass(self.class), self,
-        (long)self.navigationType, (long)self._syntheticClickType, self.request, self.sourceFrame, self.targetFrame];
+        (long)self.navigationType,
+#if PLATFORM(IOS)
+        (long)self._syntheticClickType,
+#else
+        0L,
+#endif
+        self.request, self.sourceFrame, self.targetFrame];
 }
 
 - (WKFrameInfo *)sourceFrame
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to