summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-29 18:32:19 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-29 18:32:19 +0000
commitb5462e059f83138060f8a7bbf3562eb5114afc6b (patch)
tree41005ff28bfe70edbe68cd8f09cec54df040b5d7 /net
parentaab1ee53360e1a8b44bf1846962fed2a5975fb7b (diff)
downloadchromium_src-b5462e059f83138060f8a7bbf3562eb5114afc6b.zip
chromium_src-b5462e059f83138060f8a7bbf3562eb5114afc6b.tar.gz
chromium_src-b5462e059f83138060f8a7bbf3562eb5114afc6b.tar.bz2
Re-order constructor order to avoid warning on mac build (that causes error).
TBR=darin@chromium.org Review URL: http://codereview.chromium.org/4332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/http/http_network_transaction_unittest.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index b2c815d..8cfe348 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -29,16 +29,16 @@ struct MockRead {
data_len(0) { }
// Asynchronous read success (inferred data length).
- MockRead(const char* data) : async(true), data(data), data_len(strlen(data)),
- result(0) { }
+ MockRead(const char* data) : async(true), result(0), data(data),
+ data_len(strlen(data)) { }
// Read success (inferred data length).
- MockRead(bool async, const char* data) : async(async), data(data),
- data_len(strlen(data)), result(0) { }
+ MockRead(bool async, const char* data) : async(async), result(0), data(data),
+ data_len(strlen(data)) { }
// Read success.
MockRead(bool async, const char* data, int data_len) : async(async),
- data(data), data_len(data_len), result(0) { }
+ result(0), data(data), data_len(data_len) { }
bool async;
int result;