Index: Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp (revision 85996) |
+++ Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp (working copy) |
@@ -114,10 +114,8 @@ |
return false; |
Chrome* chrome = static_cast<Chrome*>(hostWindow); |
- WebKit::ChromeClientImpl* chromeClientImpl = static_cast<WebKit::ChromeClientImpl*>(chrome->client()); |
+ m_webViewImpl = static_cast<WebKit::WebViewImpl*>(chrome->client()->webView()); |
- m_webViewImpl = chromeClientImpl->webView(); |
- |
if (!m_webViewImpl) |
return false; |
if (!webContext->initialize(webAttributes, m_webViewImpl, renderDirectlyToHostWindow)) { |