Title: [173379] trunk/Source/WebKit/mac
Revision
173379
Author
[email protected]
Date
2014-09-08 08:28:09 -0700 (Mon, 08 Sep 2014)

Log Message

Build fix.

Added back SPI that is still in use.

* Misc/WebNSURLExtras.h:
* Misc/WebNSURLExtras.mm:
(-[NSURL _webkit_URLByRemovingFragment]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (173378 => 173379)


--- trunk/Source/WebKit/mac/ChangeLog	2014-09-08 15:21:47 UTC (rev 173378)
+++ trunk/Source/WebKit/mac/ChangeLog	2014-09-08 15:28:09 UTC (rev 173379)
@@ -1,5 +1,15 @@
 2014-09-08  Dan Bernstein  <[email protected]>
 
+        Build fix.
+
+        Added back SPI that is still in use.
+
+        * Misc/WebNSURLExtras.h:
+        * Misc/WebNSURLExtras.mm:
+        (-[NSURL _webkit_URLByRemovingFragment]):
+
+2014-09-08  Dan Bernstein  <[email protected]>
+
         iOS Simulator build fix.
 
         * Misc/WebKitSystemBits.m:

Modified: trunk/Source/WebKit/mac/Misc/WebNSURLExtras.h (173378 => 173379)


--- trunk/Source/WebKit/mac/Misc/WebNSURLExtras.h	2014-09-08 15:21:47 UTC (rev 173378)
+++ trunk/Source/WebKit/mac/Misc/WebNSURLExtras.h	2014-09-08 15:28:09 UTC (rev 173379)
@@ -53,6 +53,7 @@
 - (BOOL)_web_isEmpty;
 
 - (NSURL *)_webkit_canonicalize;
+- (NSURL *)_webkit_URLByRemovingFragment;
 - (NSURL *)_web_URLByRemovingUserInfo;
 
 - (BOOL)_webkit_isJavaScriptURL;

Modified: trunk/Source/WebKit/mac/Misc/WebNSURLExtras.mm (173378 => 173379)


--- trunk/Source/WebKit/mac/Misc/WebNSURLExtras.mm	2014-09-08 15:21:47 UTC (rev 173378)
+++ trunk/Source/WebKit/mac/Misc/WebNSURLExtras.mm	2014-09-08 15:28:09 UTC (rev 173379)
@@ -132,6 +132,11 @@
     return URLByCanonicalizingURL(self);
 }
 
+- (NSURL *)_webkit_URLByRemovingFragment 
+{
+    return URLByTruncatingOneCharacterBeforeComponent(self, kCFURLComponentFragment);
+}
+
 - (NSURL *)_web_URLByRemovingUserInfo
 {
     return URLByRemovingUserInfo(self);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to