Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Unified Diff: net/url_request/view_cache_helper.cc

Issue 10578017: Test GURL::spec() usage changes with DEPS rolled to the new version. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/proxy/proxy_config.h ('k') | sync/internal_api/write_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/view_cache_helper.cc
diff --git a/net/url_request/view_cache_helper.cc b/net/url_request/view_cache_helper.cc
index fde34423d6e907ed1e1ce0b2e694816517d9e00d..94829c67a44d7d83d2df293d3fd45000ca89b758 100644
--- a/net/url_request/view_cache_helper.cc
+++ b/net/url_request/view_cache_helper.cc
@@ -33,8 +33,8 @@ std::string FormatEntryInfo(disk_cache::Entry* entry,
std::string key = entry->GetKey();
GURL url = GURL(url_prefix + key);
std::string row =
- "<tr><td><a href=\"" + url.spec() + "\">" + EscapeForHTML(key) +
- "</a></td></tr>";
+ "<tr><td><a href=\"" + url.possibly_invalid_spec() + "\">" +
+ EscapeForHTML(key) + "</a></td></tr>";
return row;
}
« no previous file with comments | « net/proxy/proxy_config.h ('k') | sync/internal_api/write_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698