| Index: chrome/utility/media_galleries/itunes_library_parser.cc
|
| diff --git a/chrome/utility/media_galleries/itunes_library_parser.cc b/chrome/utility/media_galleries/itunes_library_parser.cc
|
| index 6eaa60fd8aca29ce741359cbcca0aae6a64b367c..954f6378585bda1230fbab079916d7d559f4cf3e 100644
|
| --- a/chrome/utility/media_galleries/itunes_library_parser.cc
|
| +++ b/chrome/utility/media_galleries/itunes_library_parser.cc
|
| @@ -51,9 +51,9 @@ class TrackInfoXmlDictReader : public iapps::XmlDictReader {
|
| if (!url.SchemeIsFile())
|
| return false;
|
| url::RawCanonOutputW<1024> decoded_location;
|
| - url::DecodeURLEscapeSequences(url.path().c_str() + 1, // Strip /.
|
| - url.path().length() - 1,
|
| - &decoded_location);
|
| + url::DecodeURLEscapeSequences(
|
| + url.path().as_string().c_str() + 1, // Strip /.
|
| + url.path().as_string().length() - 1, &decoded_location);
|
| #if defined(OS_WIN)
|
| base::string16 location(decoded_location.data(),
|
| decoded_location.length());
|
|
|