Index: third_party/WebKit/Source/core/dom/DOMURL.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMURL.cpp b/third_party/WebKit/Source/core/dom/DOMURL.cpp |
index 66d9a12f27d9e3a95195623d930d7ae5f62af419..bd64b4be072a112cb26c66a92d9ff67e186a7478 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMURL.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMURL.cpp |
@@ -83,18 +83,6 @@ void DOMURL::setSearch(const String& value) |
updateSearchParams(value); |
} |
-String DOMURL::createObjectURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) |
-{ |
- DCHECK(blob); |
- if (!executionContext) |
- return String(); |
- if (blob->isClosed()) { |
- exceptionState.throwDOMException(InvalidStateError, String(blob->isFile() ? "File" : "Blob") + " has been closed."); |
- return String(); |
- } |
- return createPublicURL(executionContext, blob, blob->uuid()); |
-} |
- |
String DOMURL::createPublicURL(ExecutionContext* executionContext, URLRegistrable* registrable, const String& uuid) |
{ |
KURL publicURL = BlobURL::createPublicURL(executionContext->getSecurityOrigin()); |
@@ -106,16 +94,6 @@ String DOMURL::createPublicURL(ExecutionContext* executionContext, URLRegistrabl |
return publicURL.getString(); |
} |
-void DOMURL::revokeObjectURL(ExecutionContext* executionContext, const String& urlString) |
-{ |
- if (!executionContext) |
- return; |
- |
- KURL url(KURL(), urlString); |
- executionContext->removeURLFromMemoryCache(url); |
- executionContext->publicURLManager().revoke(url); |
-} |
- |
void DOMURL::revokeObjectUUID(ExecutionContext* executionContext, const String& uuid) |
{ |
if (!executionContext) |