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

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

Issue 2814443003: Fix a bug in TextInputManager::GetCompositionRangeInfo (Closed)
Patch Set: Removed the argument |view| 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 | « content/browser/renderer_host/text_input_manager.h ('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/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..6871c1f169862d4e761485542f01534e1a4a7c5f 100644
--- a/content/browser/renderer_host/text_input_manager.cc
+++ b/content/browser/renderer_host/text_input_manager.cc
@@ -72,11 +72,7 @@ const TextInputManager::SelectionRegion* TextInputManager::GetSelectionRegion(
}
const TextInputManager::CompositionRangeInfo*
-TextInputManager::GetCompositionRangeInfo(
- RenderWidgetHostViewBase* view) const {
- DCHECK(!view || IsRegistered(view));
- if (!view)
- view = active_view_;
+TextInputManager::GetCompositionRangeInfo() const {
return active_view_ ? &composition_range_info_map_.at(active_view_) : nullptr;
}
« no previous file with comments | « content/browser/renderer_host/text_input_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698