Index: net/spdy/spdy_http_utils.cc |
diff --git a/net/spdy/spdy_http_utils.cc b/net/spdy/spdy_http_utils.cc |
index b3f198343ec5c37e8b052bcb39d8acf40086a677..539747306037133b250d942d9953fa2f33ead12b 100644 |
--- a/net/spdy/spdy_http_utils.cc |
+++ b/net/spdy/spdy_http_utils.cc |
@@ -123,7 +123,7 @@ void CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info, |
(*headers)["url"] = GetHostAndPort(info.url); |
} else { |
(*headers)["scheme"] = info.url.scheme(); |
- (*headers)["url"] = direct ? HttpUtil::PathForRequest(info.url) |
+ (*headers)["url"] = direct ? info.url.PathForRequest() |
: HttpUtil::SpecForRequest(info.url); |
} |
} else { |
@@ -139,7 +139,7 @@ void CreateSpdyHeadersFromHttpRequest(const HttpRequestInfo& info, |
(*headers)[":path"] = GetHostAndPort(info.url); |
} else { |
(*headers)[":scheme"] = info.url.scheme(); |
- (*headers)[":path"] = HttpUtil::PathForRequest(info.url); |
+ (*headers)[":path"] = info.url.PathForRequest(); |
} |
} |
} |