summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 22:36:19 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 22:36:19 +0000
commit2ae5aa0d1d5abfab72bfad02ec40529bbc262e5c (patch)
tree426387707aaf1ed1c9987d54f3f29c47536ebc1b
parentf1ea2fa47af56a08b964a5ad0512156bfcbfda11 (diff)
downloadchromium_src-2ae5aa0d1d5abfab72bfad02ec40529bbc262e5c.zip
chromium_src-2ae5aa0d1d5abfab72bfad02ec40529bbc262e5c.tar.gz
chromium_src-2ae5aa0d1d5abfab72bfad02ec40529bbc262e5c.tar.bz2
r1194 missed some sites to disable the warning
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1195 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/http/http_cache.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index dad0d85..a678078 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -948,7 +948,7 @@ HttpCache::HttpCache(const ProxyInfo* proxy_info,
: disk_cache_dir_(cache_dir),
mode_(NORMAL),
network_layer_(HttpNetworkLayer::CreateFactory(proxy_info)),
- task_factory_(this),
+ ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)),
in_memory_cache_(false),
cache_size_(cache_size) {
}
@@ -956,7 +956,7 @@ HttpCache::HttpCache(const ProxyInfo* proxy_info,
HttpCache::HttpCache(const ProxyInfo* proxy_info, int cache_size)
: mode_(NORMAL),
network_layer_(HttpNetworkLayer::CreateFactory(proxy_info)),
- task_factory_(this),
+ ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)),
in_memory_cache_(true),
cache_size_(cache_size) {
}
@@ -966,7 +966,7 @@ HttpCache::HttpCache(HttpTransactionFactory* network_layer,
: mode_(NORMAL),
network_layer_(network_layer),
disk_cache_(disk_cache),
- task_factory_(this),
+ ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)),
in_memory_cache_(false),
cache_size_(0) {
}