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

Unified Diff: net/url_request/url_request_view_net_internal_job.cc

Issue 192057: Use "GURL::possibly_invalid_spec()" rather than "GURL::spec()", in case the G... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Make unittest better Created 11 years, 3 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/url_request/url_request_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_view_net_internal_job.cc
===================================================================
--- net/url_request/url_request_view_net_internal_job.cc (revision 25765)
+++ net/url_request/url_request_view_net_internal_job.cc (working copy)
@@ -275,7 +275,7 @@
std::string* out) {
out->append("<li>");
out->append("<nobr>");
- out->append(EscapeForHTML(url.spec()));
+ out->append(EscapeForHTML(url.possibly_invalid_spec()));
out->append("</nobr>");
if (log)
OutputTextInPre(net::LoadLogUtil::PrettyPrintAsEventTree(log), out);
« no previous file with comments | « net/url_request/url_request_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698