| 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 1cf09b6f3d6d73387cb88ccd4d3958187402814f..584e0fb6b7c07c69e901106f222b1da5d2acbda5 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp
|
| @@ -71,8 +71,10 @@ PassOwnPtr<WebServiceWorkerCacheStorage> assertCacheStorage(ErrorString* errorSt
|
| RefPtr<SecurityOrigin> secOrigin = SecurityOrigin::createFromString(securityOrigin);
|
|
|
| // Cache Storage API is restricted to trustworthy origins.
|
| - if (!secOrigin->isPotentiallyTrustworthy(*errorString))
|
| + if (!secOrigin->isPotentiallyTrustworthy()) {
|
| + *errorString = secOrigin->isPotentiallyTrustworthyErrorMessage();
|
| return nullptr;
|
| + }
|
|
|
| String identifier = createDatabaseIdentifierFromSecurityOrigin(secOrigin.get());
|
| OwnPtr<WebServiceWorkerCacheStorage> cache = adoptPtr(Platform::current()->cacheStorage(identifier));
|
|
|