summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2011-08-12 22:28:38 -0700
committerJP Abgrall <jpa@google.com>2011-08-12 22:31:27 -0700
commit404d1fb4568682cf07fda9312d58aff43eada39a (patch)
tree86f112d6b12d3c05f823a0784b95e0ffa795822d /net
parent9639f9bb6f038fcff8d26463ba0ac698357eee46 (diff)
downloadexternal_chromium-404d1fb4568682cf07fda9312d58aff43eada39a.zip
external_chromium-404d1fb4568682cf07fda9312d58aff43eada39a.tar.gz
external_chromium-404d1fb4568682cf07fda9312d58aff43eada39a.tar.bz2
transport socket pool: Fix missing init for valid UIDs
Missing class member init specific to ANDROID would cause socket tagging to be attempted most of the time. Change-Id: I0ac745efb764b24da9372721fc34596dd5b4ab34 Signed-off-by: JP Abgrall <jpa@google.com>
Diffstat (limited to 'net')
-rw-r--r--net/socket/transport_client_socket_pool.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/socket/transport_client_socket_pool.cc b/net/socket/transport_client_socket_pool.cc
index 966d626..ef02061 100644
--- a/net/socket/transport_client_socket_pool.cc
+++ b/net/socket/transport_client_socket_pool.cc
@@ -63,7 +63,11 @@ TransportSocketParams::TransportSocketParams(
const GURL& referrer,
bool disable_resolver_cache,
bool ignore_limits)
- : destination_(host_port_pair), ignore_limits_(ignore_limits) {
+ : destination_(host_port_pair), ignore_limits_(ignore_limits)
+#ifdef ANDROID
+ , valid_uid_(false), calling_uid_(0)
+#endif
+ {
Initialize(priority, referrer, disable_resolver_cache);
}