Index: Source/WebKit/chromium/src/StorageNamespaceProxy.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/StorageNamespaceProxy.cpp (revision 85996) |
+++ Source/WebKit/chromium/src/StorageNamespaceProxy.cpp (working copy) |
@@ -49,8 +49,7 @@ |
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)); |
} |