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 77ac1c19124dbe6e4332e0726b48b2780d16fffd..ea2f3a29ded909edfb9c8320a0ae9a041beec0ea 100644 |
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp |
@@ -986,10 +986,10 @@ void ChromeClientImpl::willSetInputMethodState() |
m_webView->client()->resetInputMethod(); |
} |
-void ChromeClientImpl::didUpdateTextOfFocusedElementByNonUserInput() |
+void ChromeClientImpl::didUpdateTextOfFocusedElementByNonUserInput(LocalFrame& frame) |
{ |
- if (m_webView->client()) |
- m_webView->client()->didUpdateTextOfFocusedElementByNonUserInput(); |
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame.localFrameRoot()); |
+ webFrame->frameWidget()->client()->didUpdateTextOfFocusedElementByNonUserInput(); |
} |
void ChromeClientImpl::showImeIfNeeded() |