| Index: third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp b/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp
|
| index 4c0eb81dfa4ab55f8a534ca4cf2f578eb2c4bacc..8da4193cb8802279336433f1cf6dd11a1cc9d678 100644
|
| --- a/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp
|
| +++ b/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp
|
| @@ -210,7 +210,8 @@ StorageArea* InspectorDOMStorageAgent::findStorageArea(ErrorString* errorString,
|
| if (!m_page->mainFrame()->isLocalFrame())
|
| return nullptr;
|
|
|
| - LocalFrame* frame = InspectedFrames(m_page->deprecatedLocalMainFrame()).frameWithSecurityOrigin(securityOrigin);
|
| + OwnPtrWillBeRawPtr<InspectedFrames> inspectedFrames = InspectedFrames::create(m_page->deprecatedLocalMainFrame());
|
| + LocalFrame* frame = inspectedFrames->frameWithSecurityOrigin(securityOrigin);
|
| if (!frame) {
|
| if (errorString)
|
| *errorString = "LocalFrame not found for the given security origin";
|
|
|