Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 56e26e723b2b4a157686b28ab3dfd4f289ff1b13..67968fb22965e14a21e29ec7968b98e5023a2808 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -1046,7 +1046,7 @@ void HTMLInputElement::setValueInternal(const String& sanitizedValue, TextFieldE |
pseudoStateChanged(CSSSelector::PseudoOutOfRange); |
} |
if (document().focusedElement() == this) |
- document().frameHost()->chromeClient().didUpdateTextOfFocusedElementByNonUserInput(); |
+ document().frameHost()->chromeClient().didUpdateTextOfFocusedElementByNonUserInput(*document().frame()); |
} |
void HTMLInputElement::updateView() |