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

Unified Diff: content/test/layouttest_support.cc

Issue 2596193002: Clean up names and remove unnecessary parameter (Closed)
Patch Set: change parameter name, pass parameter directly Created 3 years, 11 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: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index fad81abc161af7b290d0bf5e3f2681f499b574cc..cc2d9e1133677c9229d1146e3a53ac834fecb031 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -1138,8 +1138,7 @@ void SchedulerRunIdleTasks(const base::Closure& callback) {
void ForceTextInputStateUpdateForRenderFrame(RenderFrame* frame) {
if (auto* render_widget =
static_cast<RenderFrameImpl*>(frame)->GetRenderWidget()) {
- render_widget->UpdateTextInputState(ShowIme::IF_NEEDED,
- ChangeSource::FROM_NON_IME);
+ render_widget->UpdateTextInputState(ShowIme::IF_NEEDED);
}
}

Powered by Google App Engine
This is Rietveld 408576698