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

Unified Diff: net/log/net_log_util.cc

Issue 1128083003: Converted bare pointer to scoped_ptr in net/url_request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted the comment desciption. Created 5 years, 7 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 | « no previous file | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/net_log_util.cc
diff --git a/net/log/net_log_util.cc b/net/log/net_log_util.cc
index 97d9a7648a746e3e4c07f08d3a59ed77d57a9ef9..4170d1c2375debf90b30f0502161e3723d64a0af 100644
--- a/net/log/net_log_util.cc
+++ b/net/log/net_log_util.cc
@@ -130,7 +130,7 @@ bool RequestCreatedBefore(const URLRequest* request1,
// net-internals was opened.
base::Value* GetRequestStateAsValue(const net::URLRequest* request,
NetLogCaptureMode capture_mode) {
- return request->GetStateAsValue();
+ return request->GetStateAsValue().release();
}
} // namespace
« no previous file with comments | « no previous file | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698