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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 2887973002: Fix an IME regression for <webview> due to missing IPC message param (Closed)
Patch Set: Rebased Created 3 years, 7 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/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 8f26ef0690081c2eabc1add1f64474f37874be78..1f985ec5c83d928e1cb8d222785c2a12664a67e8 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -920,7 +920,10 @@ void BrowserPluginGuest::OnImeCommitText(
replacement_range, relative_cursor_pos));
}
-void BrowserPluginGuest::OnImeFinishComposingText(bool keep_selection) {
+void BrowserPluginGuest::OnImeFinishComposingText(
+ int browser_plugin_instance_id,
+ bool keep_selection) {
+ DCHECK_EQ(browser_plugin_instance_id_, browser_plugin_instance_id);
Send(new InputMsg_ImeFinishComposingText(routing_id(), keep_selection));
}
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.h ('k') | content/common/browser_plugin/browser_plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698