Title: [262421] trunk/Source/WebCore
Revision
262421
Author
commit-qu...@webkit.org
Date
2020-06-02 08:36:28 -0700 (Tue, 02 Jun 2020)

Log Message

Remove unused BlobURL::getIdentifier
https://bugs.webkit.org/show_bug.cgi?id=212635

Patch by Tetsuharu Ohzeki <tetsuharu.ohz...@gmail.com> on 2020-06-02
Reviewed by Youenn Fablet.

* fileapi/BlobURL.cpp:
* fileapi/BlobURL.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (262420 => 262421)


--- trunk/Source/WebCore/ChangeLog	2020-06-02 15:08:32 UTC (rev 262420)
+++ trunk/Source/WebCore/ChangeLog	2020-06-02 15:36:28 UTC (rev 262421)
@@ -1,3 +1,13 @@
+2020-06-02  Tetsuharu Ohzeki  <tetsuharu.ohz...@gmail.com>
+
+        Remove unused BlobURL::getIdentifier
+        https://bugs.webkit.org/show_bug.cgi?id=212635
+
+        Reviewed by Youenn Fablet.
+
+        * fileapi/BlobURL.cpp:
+        * fileapi/BlobURL.h:
+
 2020-06-02  Mark Lam  <mark....@apple.com>
 
         Fix broken Windows build.

Modified: trunk/Source/WebCore/fileapi/BlobURL.cpp (262420 => 262421)


--- trunk/Source/WebCore/fileapi/BlobURL.cpp	2020-06-02 15:08:32 UTC (rev 262420)
+++ trunk/Source/WebCore/fileapi/BlobURL.cpp	2020-06-02 15:36:28 UTC (rev 262421)
@@ -61,14 +61,6 @@
     return url.string().substring(startIndex, endIndex - startIndex - 1);
 }
 
-String BlobURL::getIdentifier(const URL& url)
-{
-    ASSERT(url.protocolIs(kBlobProtocol));
-
-    unsigned startIndex = url.pathAfterLastSlash();
-    return url.string().substring(startIndex);
-}
-
 URL BlobURL::createBlobURL(const String& originString)
 {
     ASSERT(!originString.isEmpty());

Modified: trunk/Source/WebCore/fileapi/BlobURL.h (262420 => 262421)


--- trunk/Source/WebCore/fileapi/BlobURL.h	2020-06-02 15:08:32 UTC (rev 262420)
+++ trunk/Source/WebCore/fileapi/BlobURL.h	2020-06-02 15:36:28 UTC (rev 262421)
@@ -50,7 +50,6 @@
     static URL createPublicURL(SecurityOrigin*);
     static URL createInternalURL();
     static String getOrigin(const URL&);
-    static String getIdentifier(const URL&);
 
 private:
     static URL createBlobURL(const String& originString);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to