Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

Issue 2315223003: Move didUpdateTextOfFocusedElementByNonUserInput from WebViewClient to WebWidgetClient. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698