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

Unified Diff: net/url_request/url_request_unittest.h

Issue 153001: Fix 15 coverity complaints.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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/tools/dump_cache/upgrade.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.h
===================================================================
--- net/url_request/url_request_unittest.h (revision 19697)
+++ net/url_request/url_request_unittest.h (working copy)
@@ -477,7 +477,7 @@
// Create a server with an expired certificate
static scoped_refptr<HTTPSTestServer> CreateExpiredServer(
const std::wstring& document_root) {
- HTTPSTestServer* test_server = new HTTPSTestServer();
+ scoped_refptr<HTTPSTestServer> test_server = new HTTPSTestServer();
FilePath docroot = FilePath::FromWStringHack(document_root);
FilePath certpath = test_server->launcher_.GetExpiredCertPath();
if (!test_server->Start(net::TestServerLauncher::ProtoHTTP,
« no previous file with comments | « net/tools/dump_cache/upgrade.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698