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 6742f980432146ccd6f02d6258402d56f121090f..fb021933e02d9e4b0242155670e740fcba92be69 100644 |
--- a/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp |
+++ b/third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.cpp |
@@ -209,14 +209,14 @@ StorageArea* InspectorDOMStorageAgent::findStorageArea(ErrorString* errorString, |
targetFrame = frame; |
if (isLocalStorage) |
- return StorageNamespace::localStorageArea(frame->document()->securityOrigin()); |
+ return StorageNamespace::localStorageArea(frame->document()->getSecurityOrigin()); |
StorageNamespace* sessionStorage = StorageNamespaceController::from(m_page)->sessionStorage(); |
if (!sessionStorage) { |
if (errorString) |
*errorString = "SessionStorage is not supported"; |
return nullptr; |
} |
- return sessionStorage->storageArea(frame->document()->securityOrigin()); |
+ return sessionStorage->storageArea(frame->document()->getSecurityOrigin()); |
} |
} // namespace blink |