| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index e9deda3d5eeb72964a8914373a084910fb5ba4d6..10d6072d6859fe9ef26c763c8bdeb9ba5266b1f5 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -1594,9 +1594,7 @@ WebViewImpl* WebViewImpl::fromPage(Page* page)
|
| {
|
| if (!page)
|
| return 0;
|
| -
|
| - ChromeClientImpl* chromeClient = static_cast<ChromeClientImpl*>(page->chrome().client());
|
| - return static_cast<WebViewImpl*>(chromeClient->webView());
|
| + return static_cast<WebViewImpl*>(page->chrome().client().webView());
|
| }
|
|
|
| // WebWidget ------------------------------------------------------------------
|
|
|