Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
index d8f04151bddc84bc5ac5c6fab3de38736d419ee5..fa6f8d8b5af5517156e6f291626a60a4c6e0fa8c 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -684,7 +684,7 @@ DateTimeChooser* ChromeClientImpl::openDateTimeChooser(DateTimeChooserClient* pi |
void ChromeClientImpl::openFileChooser(LocalFrame* frame, PassRefPtr<FileChooser> fileChooser) |
{ |
notifyPopupOpeningObservers(); |
- WebViewClient* client = m_webView->client(); |
+ WebFrameClient* client = WebLocalFrameImpl::fromFrame(frame)->client(); |
if (!client) |
return; |