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

Unified Diff: third_party/WebKit/Source/core/dom/DOMURL.cpp

Issue 2268973002: Rename SecurityOriginCache to URLSecurityOriginMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 4 years, 3 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 | « no previous file | third_party/WebKit/Source/core/fileapi/Blob.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7dc6169105c451eb8e47f0d6f711e43afdaa472e..52f69ce1d7aef17a8fff1fef4a2eab7e57fba463 100644
--- a/third_party/WebKit/Source/core/dom/DOMURL.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMURL.cpp
@@ -32,10 +32,7 @@
#include "core/dom/ExecutionContext.h"
#include "core/dom/URLSearchParams.h"
#include "core/fetch/MemoryCache.h"
-#include "core/fileapi/Blob.h"
#include "core/html/PublicURLManager.h"
-#include "platform/blob/BlobURL.h"
-#include "platform/weborigin/SecurityOrigin.h"
#include "wtf/AutoReset.h"
namespace blink {
@@ -85,13 +82,7 @@ void DOMURL::setSearch(const String& value)
String DOMURL::createPublicURL(ExecutionContext* executionContext, URLRegistrable* registrable, const String& uuid)
{
- KURL publicURL = BlobURL::createPublicURL(executionContext->getSecurityOrigin());
- if (publicURL.isEmpty())
- return String();
-
- executionContext->publicURLManager().registerURL(executionContext->getSecurityOrigin(), publicURL, registrable, uuid);
-
- return publicURL.getString();
+ return executionContext->publicURLManager().registerURL(executionContext, registrable, uuid);
}
void DOMURL::revokeObjectUUID(ExecutionContext* executionContext, const String& uuid)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fileapi/Blob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698