Index: Source/WebKit/chromium/src/WebViewImpl.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebViewImpl.cpp (revision 85996) |
+++ Source/WebKit/chromium/src/WebViewImpl.cpp (working copy) |
@@ -931,7 +931,8 @@ |
if (!page) |
return 0; |
- return static_cast<ChromeClientImpl*>(page->chrome()->client())->webView(); |
+ ChromeClientImpl* chromeClient = static_cast<ChromeClientImpl*>(page->chrome()->client()); |
+ return static_cast<WebViewImpl*>(chromeClient->webView()); |
} |
// WebWidget ------------------------------------------------------------------ |