Index: Source/web/tests/WebViewTest.cpp |
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
index 17f20ee5eb6c2677056f97ff6d0531ef7e65ae74..bb56f5ef6cfd457eed2d79bbcaa07f2312a8f80d 100644 |
--- a/Source/web/tests/WebViewTest.cpp |
+++ b/Source/web/tests/WebViewTest.cpp |
@@ -1129,6 +1129,8 @@ public: |
virtual ~MockAutofillClient() { } |
virtual void setIgnoreTextChanges(bool ignore) OVERRIDE { m_ignoreTextChanges = ignore; } |
+ // FIXME: This function is to be removed once both chromium and blink changes |
+ // for BUG332557 are in. |
virtual void textFieldDidChange(const WebInputElement&) OVERRIDE |
{ |
if (m_ignoreTextChanges) |
@@ -1136,6 +1138,13 @@ public: |
else |
++m_textChangesWhileNotIgnored; |
} |
+ virtual void textFieldDidChange(const WebFormControlElement&) OVERRIDE |
+ { |
+ if (m_ignoreTextChanges) |
+ ++m_textChangesWhileIgnored; |
+ else |
+ ++m_textChangesWhileNotIgnored; |
+ } |
void clearChangeCounts() |
{ |