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

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

Issue 2323983003: DO NOT SUBMIT: Bundle IME-related messages into one for batch edit (Closed)
Patch Set: fixed nits and fixed blimp test 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: 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 d0a39e22c2d7afa3dcd1fddb5d72c12c4b03d299..f319c5c9657bca397788a10adcd352d9d21e90a7 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -876,10 +876,7 @@ void BrowserPluginGuest::OnExtendSelectionAndDelete(
int browser_plugin_instance_id,
int before,
int after) {
- RenderFrameHostImpl* rfh = static_cast<RenderFrameHostImpl*>(
- web_contents()->GetFocusedFrame());
- if (rfh)
- rfh->ExtendSelectionAndDelete(before, after);
+ Send(new InputMsg_ImeExtendSelectionAndDelete(routing_id(), before, after));
}
void BrowserPluginGuest::OnLockMouse(bool user_gesture,
« no previous file with comments | « blimp/engine/feature/engine_render_widget_feature_unittest.cc ('k') | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698