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

Unified Diff: net/http/disk_cache_based_quic_server_info.h

Issue 506523002: net : Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 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/base/sdch_dictionary_fetcher.cc ('k') | net/http/disk_cache_based_quic_server_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/disk_cache_based_quic_server_info.h
diff --git a/net/http/disk_cache_based_quic_server_info.h b/net/http/disk_cache_based_quic_server_info.h
index 2a18ef5abc8df7375f95835959cf8cc5b3a93339..b0bb15cff17b15b781fa579872e68aedddadba11 100644
--- a/net/http/disk_cache_based_quic_server_info.h
+++ b/net/http/disk_cache_based_quic_server_info.h
@@ -84,7 +84,6 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo
// DoSetDone is the terminal state of the write operation.
int DoSetDone();
- base::WeakPtrFactory<DiskCacheBasedQuicServerInfo> weak_factory_;
CacheOperationDataShim* data_shim_; // Owned by |io_callback_|.
CompletionCallback io_callback_;
State state_;
@@ -99,6 +98,8 @@ class NET_EXPORT_PRIVATE DiskCacheBasedQuicServerInfo
scoped_refptr<IOBuffer> read_buffer_;
scoped_refptr<IOBuffer> write_buffer_;
std::string data_;
+
+ base::WeakPtrFactory<DiskCacheBasedQuicServerInfo> weak_factory_;
};
} // namespace net
« no previous file with comments | « net/base/sdch_dictionary_fetcher.cc ('k') | net/http/disk_cache_based_quic_server_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698