| Index: content/renderer/android/phone_number_detector.cc
|
| diff --git a/content/renderer/android/phone_number_detector.cc b/content/renderer/android/phone_number_detector.cc
|
| index 19c526f9bd0a3dda355e426f0214b929996e9df4..843adfaad1d810638aa39818a818560cdef57dfd 100644
|
| --- a/content/renderer/android/phone_number_detector.cc
|
| +++ b/content/renderer/android/phone_number_detector.cc
|
| @@ -54,12 +54,13 @@ GURL PhoneNumberDetector::GetIntentURL(const std::string& content_text) {
|
| net::EscapeQueryParamValue(content_text, true));
|
| }
|
|
|
| -bool PhoneNumberDetector::FindContent(const string16::const_iterator& begin,
|
| - const string16::const_iterator& end,
|
| - size_t* start_pos,
|
| - size_t* end_pos,
|
| - std::string* content_text) {
|
| - string16 utf16_input = string16(begin, end);
|
| +bool PhoneNumberDetector::FindContent(
|
| + const base::string16::const_iterator& begin,
|
| + const base::string16::const_iterator& end,
|
| + size_t* start_pos,
|
| + size_t* end_pos,
|
| + std::string* content_text) {
|
| + base::string16 utf16_input = base::string16(begin, end);
|
| std::string utf8_input = UTF16ToUTF8(utf16_input);
|
|
|
| PhoneNumberMatcher matcher(utf8_input, region_code_);
|
|
|