summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google_apis/test_server/http_server.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 03:14:09 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 03:14:09 +0000
commit9c009098a0f38f9a00b8c00de4f32398e4361221 (patch)
tree783e9bce53169c847ab877319bd7bc106804f197 /chrome/browser/google_apis/test_server/http_server.cc
parentc274c75edef56e91a2104c8ddac8d20b6efeb628 (diff)
downloadchromium_src-9c009098a0f38f9a00b8c00de4f32398e4361221.zip
chromium_src-9c009098a0f38f9a00b8c00de4f32398e4361221.tar.gz
chromium_src-9c009098a0f38f9a00b8c00de4f32398e4361221.tar.bz2
chrome: Remove the remaining use of ALLOW_THIS_IN_INITIALIZER_LIST.
It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/14712004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197552 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_apis/test_server/http_server.cc')
-rw-r--r--chrome/browser/google_apis/test_server/http_server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/google_apis/test_server/http_server.cc b/chrome/browser/google_apis/test_server/http_server.cc
index c2c17ed..6278344 100644
--- a/chrome/browser/google_apis/test_server/http_server.cc
+++ b/chrome/browser/google_apis/test_server/http_server.cc
@@ -55,7 +55,7 @@ HttpServer::HttpServer(
const scoped_refptr<base::SingleThreadTaskRunner>& io_thread)
: io_thread_(io_thread),
port_(-1),
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
+ weak_factory_(this) {
DCHECK(io_thread_);
DCHECK(thread_checker_.CalledOnValidThread());
}