Index: WebCore/html/DOMURL.cpp |
=================================================================== |
--- WebCore/html/DOMURL.cpp (revision 140218) |
+++ WebCore/html/DOMURL.cpp (working copy) |
@@ -103,7 +103,7 @@ |
if (publicURL.isEmpty()) |
return String(); |
- ThreadableBlobRegistry::registerBlobURL(scriptExecutionContext->securityOrigin(), publicURL, blob->url()); |
+ blobRegistry().registerPublicBlobURL(scriptExecutionContext->securityOrigin(), publicURL, blob->blobDataHandle()); |
scriptExecutionContext->publicURLManager().blobURLs().add(publicURL.string()); |
return publicURL.string(); |
@@ -119,7 +119,7 @@ |
KURL url(KURL(), urlString); |
HashSet<String>& blobURLs = scriptExecutionContext->publicURLManager().blobURLs(); |
if (blobURLs.contains(url.string())) { |
- ThreadableBlobRegistry::unregisterBlobURL(url); |
+ blobRegistry().revokePublicBlobURL(url); |
blobURLs.remove(url.string()); |
} |