Index: Source/web/ChromeClientImpl.cpp |
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp |
index 6df23221b636684f7d0f23f62d5cfaec6edd172d..d46e1a1faf7815bcfb8629b703934476ef78689a 100644 |
--- a/Source/web/ChromeClientImpl.cpp |
+++ b/Source/web/ChromeClientImpl.cpp |
@@ -903,6 +903,8 @@ void ChromeClientImpl::forwardInputEvent( |
} |
} |
+// FIXME: This function is to be removed once both chromium and blink changes |
+// for BUG332557 are in. |
void ChromeClientImpl::didChangeValueInTextField(HTMLInputElement& inputElement) |
{ |
if (!m_webView->autofillClient()) |
@@ -910,6 +912,13 @@ void ChromeClientImpl::didChangeValueInTextField(HTMLInputElement& inputElement) |
m_webView->autofillClient()->textFieldDidChange(WebInputElement(&inputElement)); |
} |
+void ChromeClientImpl::didChangeValueInTextField(HTMLFormControlElement& element) |
+{ |
+ if (!m_webView->autofillClient()) |
+ return; |
+ m_webView->autofillClient()->textFieldDidChange(WebFormControlElement(&element)); |
+} |
+ |
void ChromeClientImpl::didEndEditingOnTextField(HTMLInputElement& inputElement) |
{ |
if (m_webView->autofillClient()) |