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

Unified Diff: chrome/browser/renderer_host/text_input_client_message_filter.mm

Issue 7019033: Revert 86246 - Fix assertion failure in range.mm while examining system dictionary popup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/renderer_host/text_input_client_mac_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/text_input_client_message_filter.mm
===================================================================
--- chrome/browser/renderer_host/text_input_client_message_filter.mm (revision 86247)
+++ chrome/browser/renderer_host/text_input_client_message_filter.mm (working copy)
@@ -43,11 +43,6 @@
void TextInputClientMessageFilter::OnGotCharacterIndexForPoint(size_t index) {
TextInputClientMac* service = TextInputClientMac::GetInstance();
- // |index| could be WTF::notFound (-1) and it's value is different from
- // NSNotFound so we need to convert it.
- if (index == static_cast<size_t>(-1)) {
- index = NSNotFound;
- }
service->SetCharacterIndexAndSignal(index);
}
« no previous file with comments | « chrome/browser/renderer_host/text_input_client_mac_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698