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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextAreaElement.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
Index: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
index 04a213f5895fa40158d0a2ba227ba543714106ab..ea279b7b301517626cb8946f32dcc71176238c4c 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
@@ -375,7 +375,7 @@ void HTMLTextAreaElement::setValue(const String& value, TextFieldEventBehavior e
setValueCommon(value, eventBehavior);
m_isDirty = true;
if (document().focusedElement() == this)
- document().frameHost()->chromeClient().didUpdateTextOfFocusedElementByNonUserInput();
+ document().frameHost()->chromeClient().didUpdateTextOfFocusedElementByNonUserInput(*document().frame());
}
void HTMLTextAreaElement::setNonDirtyValue(const String& value)
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.cpp ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698