Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: WebCore/html/DOMURL.cpp

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/fileapi/WebKitBlobBuilder.cpp ('k') | WebCore/html/PublicURLManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « WebCore/fileapi/WebKitBlobBuilder.cpp ('k') | WebCore/html/PublicURLManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698