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

Unified Diff: content/browser/renderer_host/gtk_im_context_wrapper.cc

Issue 13818036: Do not need to set suppress_next_commit_ to false in HandleCommit() method, (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/gtk_im_context_wrapper.cc
===================================================================
--- content/browser/renderer_host/gtk_im_context_wrapper.cc (revision 195790)
+++ content/browser/renderer_host/gtk_im_context_wrapper.cc (working copy)
@@ -484,10 +484,8 @@
}
void GtkIMContextWrapper::HandleCommit(const string16& text) {
- if (suppress_next_commit_) {
- suppress_next_commit_ = false;
+ if (suppress_next_commit_)
return;
- }
// Append the text to the buffer, because commit signal might be fired
// multiple times when processing a key event.
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698