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

Unified Diff: net/base/address_list.h

Issue 1560028: Adding extra argument DCHECKs to AddressList methods. (Closed)
Patch Set: Remove data_ check from head Created 10 years, 8 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/base/address_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_list.h
diff --git a/net/base/address_list.h b/net/base/address_list.h
index f0eb0cedf8b70cc115b6523e46d2969f9c4cf953..e8ecb6328675febabcccf4bea4fcf027b9eb107d 100644
--- a/net/base/address_list.h
+++ b/net/base/address_list.h
@@ -67,8 +67,7 @@ class AddressList {
private:
struct Data : public base::RefCountedThreadSafe<Data> {
- Data(struct addrinfo* ai, bool is_system_created)
- : head(ai), is_system_created(is_system_created) {}
+ Data(struct addrinfo* ai, bool is_system_created);
struct addrinfo* head;
// Indicates which free function to use for |head|.
« no previous file with comments | « no previous file | net/base/address_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698