| Index: net/base/mac/url_conversions.mm
|
| diff --git a/net/base/mac/url_conversions.mm b/net/base/mac/url_conversions.mm
|
| index 3171c6fde6538a6051f218c3e585478dcd82f7db..0a74a619807d1fdb1e03d1a63b9e4ecaf53e6fd1 100644
|
| --- a/net/base/mac/url_conversions.mm
|
| +++ b/net/base/mac/url_conversions.mm
|
| @@ -25,7 +25,7 @@ NSURL* NSURLWithGURL(const GURL& url) {
|
| // ref. This function manually encodes those components, and then passes the
|
| // result to NSURL.
|
| GURL::Replacements replacements;
|
| - std::string escaped_path = EscapeNSURLPrecursor(url.path());
|
| + std::string escaped_path = EscapeNSURLPrecursor(url.path().as_string());
|
| std::string escaped_query = EscapeNSURLPrecursor(url.query());
|
| std::string escaped_ref = EscapeNSURLPrecursor(url.ref());
|
| if (!escaped_path.empty()) {
|
|
|