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

Unified Diff: net/http/http_cache_transaction.cc

Issue 16434016: Rewrite scoped_ptr<T>(NULL) to use the default ctor in net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/http/http_auth_handler_negotiate.cc ('k') | net/http/http_proxy_client_socket_pool_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_transaction.cc
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
index bf2e0f3e11db0e11b16eb709737b9392bd8fb7c8..90c6e1ef527cb4f769bb12f2c9dbe77c54738b11 100644
--- a/net/http/http_cache_transaction.cc
+++ b/net/http/http_cache_transaction.cc
@@ -175,7 +175,6 @@ HttpCache::Transaction::Transaction(
cache_(cache->AsWeakPtr()),
entry_(NULL),
new_entry_(NULL),
- network_trans_(NULL),
new_response_(NULL),
mode_(NONE),
target_state_(STATE_NONE),
@@ -194,8 +193,8 @@ HttpCache::Transaction::Transaction(
effective_load_flags_(0),
write_len_(0),
weak_factory_(this),
- io_callback_(base::Bind(
- &Transaction::OnIOComplete, weak_factory_.GetWeakPtr())),
+ io_callback_(base::Bind(&Transaction::OnIOComplete,
+ weak_factory_.GetWeakPtr())),
transaction_pattern_(PATTERN_UNDEFINED),
defer_cache_sensitivity_delay_(false),
transaction_delegate_(transaction_delegate) {
« no previous file with comments | « net/http/http_auth_handler_negotiate.cc ('k') | net/http/http_proxy_client_socket_pool_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698