Remove some old WKSecurityOrigin binary compatibility stubs
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Feb 2017 00:12:51 +0000 (00:12 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Feb 2017 00:12:51 +0000 (00:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168881

Reviewed by Dan Bernstein.

* Shared/API/c/WKSecurityOriginRef.cpp:
(WKSecurityOriginGetHost): Deleted.
(WKSecurityOriginGetProtocol): Deleted.

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/c/WKSecurityOriginRef.cpp

index 5ed7417..a6617dc 100644 (file)
@@ -1,3 +1,14 @@
+2017-02-26  Alexey Proskuryakov  <ap@apple.com>
+
+        Remove some old WKSecurityOrigin binary compatibility stubs
+        https://bugs.webkit.org/show_bug.cgi?id=168881
+
+        Reviewed by Dan Bernstein.
+
+        * Shared/API/c/WKSecurityOriginRef.cpp:
+        (WKSecurityOriginGetHost): Deleted.
+        (WKSecurityOriginGetProtocol): Deleted.
+
 2017-02-26  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         REGRESSION (r211312): Double-clicking a word selects it along with the space that follows it
index d116074..61a1c67 100644 (file)
@@ -80,17 +80,3 @@ unsigned short WKSecurityOriginGetPort(WKSecurityOriginRef securityOrigin)
 {
     return toImpl(securityOrigin)->securityOrigin().port().value_or(0);
 }
-
-// For backwards ABI compatibility.
-extern "C" WK_EXPORT WKStringRef WKSecurityOriginGetHost(WKSecurityOriginRef securityOrigin);
-extern "C" WK_EXPORT WKStringRef WKSecurityOriginGetProtocol(WKSecurityOriginRef securityOrigin);
-
-WKStringRef WKSecurityOriginGetHost(WKSecurityOriginRef securityOrigin)
-{
-    return WKSecurityOriginCopyHost(securityOrigin);
-}
-
-WKStringRef WKSecurityOriginGetProtocol(WKSecurityOriginRef securityOrigin)
-{
-    return WKSecurityOriginCopyProtocol(securityOrigin);
-}