| Index: third_party/WebKit/Source/modules/storage/StorageArea.cpp
|
| diff --git a/third_party/WebKit/Source/modules/storage/StorageArea.cpp b/third_party/WebKit/Source/modules/storage/StorageArea.cpp
|
| index 9e3bb5510e9cae02f8131f352087f1d3017b958e..3271d94018a889cbbfd7236995e08e70c5265289 100644
|
| --- a/third_party/WebKit/Source/modules/storage/StorageArea.cpp
|
| +++ b/third_party/WebKit/Source/modules/storage/StorageArea.cpp
|
| @@ -174,14 +174,14 @@ void StorageArea::dispatchLocalStorageEvent(
|
| if (!frame->isLocalFrame())
|
| continue;
|
| LocalFrame* localFrame = toLocalFrame(frame);
|
| - LocalDOMWindow* localWindow = localFrame->localDOMWindow();
|
| + LocalDOMWindow* localWindow = localFrame->domWindow();
|
| Storage* storage =
|
| DOMWindowStorage::from(*localWindow).optionalLocalStorage();
|
| if (storage &&
|
| localFrame->document()->getSecurityOrigin()->canAccess(
|
| securityOrigin) &&
|
| !isEventSource(storage, sourceAreaInstance))
|
| - localFrame->localDOMWindow()->enqueueWindowEvent(
|
| + localFrame->domWindow()->enqueueWindowEvent(
|
| StorageEvent::create(EventTypeNames::storage, key, oldValue,
|
| newValue, pageURL, storage));
|
| }
|
| @@ -225,14 +225,14 @@ void StorageArea::dispatchSessionStorageEvent(
|
| if (!frame->isLocalFrame())
|
| continue;
|
| LocalFrame* localFrame = toLocalFrame(frame);
|
| - LocalDOMWindow* localWindow = localFrame->localDOMWindow();
|
| + LocalDOMWindow* localWindow = localFrame->domWindow();
|
| Storage* storage =
|
| DOMWindowStorage::from(*localWindow).optionalSessionStorage();
|
| if (storage &&
|
| localFrame->document()->getSecurityOrigin()->canAccess(
|
| securityOrigin) &&
|
| !isEventSource(storage, sourceAreaInstance))
|
| - localFrame->localDOMWindow()->enqueueWindowEvent(StorageEvent::create(
|
| + localFrame->domWindow()->enqueueWindowEvent(StorageEvent::create(
|
| EventTypeNames::storage, key, oldValue, newValue, pageURL, storage));
|
| }
|
| if (InspectorDOMStorageAgent* agent =
|
|
|