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

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

Issue 2814443003: Fix a bug in TextInputManager::GetCompositionRangeInfo (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/text_input_manager.cc
diff --git a/content/browser/renderer_host/text_input_manager.cc b/content/browser/renderer_host/text_input_manager.cc
index 6a96396af7686cc5de3898159785027a0511e725..c7c61a2039138065ddd45ac634db14a57e1b2dbe 100644
--- a/content/browser/renderer_host/text_input_manager.cc
+++ b/content/browser/renderer_host/text_input_manager.cc
@@ -77,7 +77,7 @@ TextInputManager::GetCompositionRangeInfo(
DCHECK(!view || IsRegistered(view));
if (!view)
view = active_view_;
- return active_view_ ? &composition_range_info_map_.at(active_view_) : nullptr;
EhsanK 2017/04/10 14:50:29 Right now we do not actually even use this method
Charlie Reis 2017/04/10 18:31:21 Let's go ahead and remove it for now, since it's e
EhsanK 2017/04/10 18:37:10 Acknowledged.
+ return view ? &composition_range_info_map_.at(view) : nullptr;
}
const TextInputManager::TextSelection* TextInputManager::GetTextSelection(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698