Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index 44cb63c284258307ea9e54c0d2a30608af7b5b62..dce2acc0f4abcc702e65856914d2445ebd9dd60f 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -715,7 +715,7 @@ void ChromeClientImpl::popupOpened(PopupContainer* popupContainer, |
// transparent to the WebView. |
m_webView->popupOpened(popupContainer); |
} |
- static_cast<WebPopupMenuImpl*>(webwidget)->initialize(popupContainer, bounds); |
+ toWebPopupMenuImpl(webwidget)->initialize(popupContainer, bounds); |
} |
void ChromeClientImpl::popupClosed(WebCore::PopupContainer* popupContainer) |