| Index: third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
|
| diff --git a/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp b/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
|
| index 4885b7eca2eedeb31f92ffef6c3c8b12d864aa3d..deb839b14637fb6380cec56957c9c2d560d5df70 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
|
| @@ -11,8 +11,8 @@
|
| #include "modules/cachestorage/CacheStorage.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/heap/Handle.h"
|
| -#include "platform/weborigin/DatabaseIdentifier.h"
|
| #include "public/platform/Platform.h"
|
| +#include "public/platform/WebSecurityOrigin.h"
|
|
|
| namespace blink {
|
|
|
| @@ -52,9 +52,7 @@ public:
|
| }
|
|
|
| if (!m_caches) {
|
| - String identifier = createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin());
|
| - ASSERT(!identifier.isEmpty());
|
| - m_caches = CacheStorage::create(GlobalFetch::ScopedFetcher::from(fetchingScope), Platform::current()->cacheStorage(identifier));
|
| + m_caches = CacheStorage::create(GlobalFetch::ScopedFetcher::from(fetchingScope), Platform::current()->cacheStorage(WebSecurityOrigin(context->securityOrigin())));
|
| }
|
| return m_caches;
|
| }
|
|
|