Index: base/strings/utf_offset_string_conversions.cc |
=================================================================== |
--- base/strings/utf_offset_string_conversions.cc (revision 221015) |
+++ base/strings/utf_offset_string_conversions.cc (working copy) |
@@ -148,10 +148,6 @@ |
size_t adjustment = 0; |
for (std::vector<Adjustment>::const_iterator i = adjustments_.begin(); |
i != adjustments_.end(); ++i) { |
- if (*offset == i->original_offset && i->output_length == 0) { |
- *offset = string16::npos; |
- return; |
- } |
if (*offset <= i->original_offset) |
break; |
if (*offset < (i->original_offset + i->original_length)) { |