| Index: third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
|
| index 13a4c39160d3972ee7ff3295edb74fb8c3217788..7360934b416d7f819b2d0ff24aaeeafd90969aef 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
|
| @@ -13,6 +13,7 @@
|
| #include "platform/weborigin/SecurityOrigin.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebPassOwnPtr.h"
|
| +#include "public/platform/WebSecurityOrigin.h"
|
| #include "public/platform/WebString.h"
|
| #include "public/platform/WebURL.h"
|
| #include "public/platform/WebVector.h"
|
| @@ -76,8 +77,7 @@ PassOwnPtr<WebServiceWorkerCacheStorage> assertCacheStorage(ErrorString* errorSt
|
| return nullptr;
|
| }
|
|
|
| - String identifier = createDatabaseIdentifierFromSecurityOrigin(secOrigin.get());
|
| - OwnPtr<WebServiceWorkerCacheStorage> cache = adoptPtr(Platform::current()->cacheStorage(identifier));
|
| + OwnPtr<WebServiceWorkerCacheStorage> cache = adoptPtr(Platform::current()->cacheStorage(WebSecurityOrigin(secOrigin)));
|
| if (!cache)
|
| *errorString = "Could not find cache storage.";
|
| return cache.release();
|
|
|