summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/chromium/src/StorageNamespaceProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/StorageNamespaceProxy.cpp')
-rw-r--r--Source/WebKit/chromium/src/StorageNamespaceProxy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/WebKit/chromium/src/StorageNamespaceProxy.cpp b/Source/WebKit/chromium/src/StorageNamespaceProxy.cpp
index ef19b2f..bd2a2c2 100644
--- a/Source/WebKit/chromium/src/StorageNamespaceProxy.cpp
+++ b/Source/WebKit/chromium/src/StorageNamespaceProxy.cpp
@@ -49,8 +49,7 @@ PassRefPtr<StorageNamespace> StorageNamespace::localStorageNamespace(const Strin
PassRefPtr<StorageNamespace> StorageNamespace::sessionStorageNamespace(Page* page, unsigned quota)
{
- WebKit::ChromeClientImpl* chromeClientImpl = static_cast<WebKit::ChromeClientImpl*>(page->chrome()->client());
- WebKit::WebViewClient* webViewClient = chromeClientImpl->webView()->client();
+ WebKit::WebViewClient* webViewClient = static_cast<WebKit::WebViewImpl*>(page->chrome()->client()->webView())->client();
return adoptRef(new StorageNamespaceProxy(webViewClient->createSessionStorageNamespace(quota), SessionStorage));
}