| Index: third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
 | 
| diff --git a/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp b/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
 | 
| index 190f62b3e34faca3ad1e56931ac84d46c534e880..a0e79608f0ce619e2ae0375630da5b4d7b96c545 100644
 | 
| --- a/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
 | 
| +++ b/third_party/WebKit/Source/modules/storage/DOMWindowStorage.cpp
 | 
| @@ -5,7 +5,6 @@
 | 
|  #include "modules/storage/DOMWindowStorage.h"
 | 
|  
 | 
|  #include "core/dom/Document.h"
 | 
| -#include "core/frame/FrameHost.h"
 | 
|  #include "core/frame/LocalDOMWindow.h"
 | 
|  #include "core/frame/LocalFrame.h"
 | 
|  #include "core/frame/Settings.h"
 | 
| @@ -124,8 +123,8 @@ Storage* DOMWindowStorage::localStorage(ExceptionState& exceptionState) const {
 | 
|      return m_localStorage;
 | 
|    }
 | 
|    // FIXME: Seems this check should be much higher?
 | 
| -  FrameHost* host = document->frameHost();
 | 
| -  if (!host || !host->settings().getLocalStorageEnabled())
 | 
| +  Page* page = document->page();
 | 
| +  if (!page || !page->settings().getLocalStorageEnabled())
 | 
|      return nullptr;
 | 
|    StorageArea* storageArea =
 | 
|        StorageNamespace::localStorageArea(document->getSecurityOrigin());
 | 
| 
 |