Index: Source/core/dom/DOMURL.cpp |
diff --git a/Source/core/dom/DOMURL.cpp b/Source/core/dom/DOMURL.cpp |
index 8881223f72445c4d4933110e6246154d56d8229f..f3ce017bebe6865f9fe2d1189f34c6cb9a997929 100644 |
--- a/Source/core/dom/DOMURL.cpp |
+++ b/Source/core/dom/DOMURL.cpp |
@@ -67,16 +67,16 @@ String DOMURL::createObjectURL(ExecutionContext* executionContext, Blob* blob) |
{ |
if (!executionContext || !blob) |
return String(); |
- return createPublicURL(executionContext, blob); |
+ return createPublicURL(executionContext, blob, blob->uuid()); |
} |
-String DOMURL::createPublicURL(ExecutionContext* executionContext, URLRegistrable* registrable) |
+String DOMURL::createPublicURL(ExecutionContext* executionContext, URLRegistrable* registrable, const String& uuid) |
michaeln
2014/02/12 20:33:04
Not sure we need the addition of the uuid? The bal
sof
2014/02/12 22:28:26
I like the idea of using the URLRegistrable* as th
michaeln
2014/02/12 22:34:11
Right, that's sounds like a very good reason to no
|
{ |
KURL publicURL = BlobURL::createPublicURL(executionContext->securityOrigin()); |
if (publicURL.isEmpty()) |
return String(); |
- executionContext->publicURLManager().registerURL(executionContext->securityOrigin(), publicURL, registrable); |
+ executionContext->publicURLManager().registerURL(executionContext->securityOrigin(), publicURL, registrable, uuid); |
return publicURL.string(); |
} |