summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/public/util
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-27 00:11:43 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-27 00:11:43 +0000
commitc80ec7e37d4c1fd2a49daf0ffb2a173d3dce6903 (patch)
treed61631627c675b814616009506cdbc62981fd6a8 /sync/internal_api/public/util
parent8119f8d3bfb0dfd69fc73d48fb853eabbcda6f67 (diff)
downloadchromium_src-c80ec7e37d4c1fd2a49daf0ffb2a173d3dce6903.zip
chromium_src-c80ec7e37d4c1fd2a49daf0ffb2a173d3dce6903.tar.gz
chromium_src-c80ec7e37d4c1fd2a49daf0ffb2a173d3dce6903.tar.bz2
sync: Remove 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 Review URL: https://chromiumcodereview.appspot.com/14335008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/public/util')
-rw-r--r--sync/internal_api/public/util/weak_handle_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/internal_api/public/util/weak_handle_unittest.cc b/sync/internal_api/public/util/weak_handle_unittest.cc
index a7f0c1a..fcfd7bd 100644
--- a/sync/internal_api/public/util/weak_handle_unittest.cc
+++ b/sync/internal_api/public/util/weak_handle_unittest.cc
@@ -21,7 +21,7 @@ using ::testing::StrictMock;
class Base {
public:
- Base() : weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {}
+ Base() : weak_ptr_factory_(this) {}
WeakHandle<Base> AsWeakHandle() {
return MakeWeakHandle(weak_ptr_factory_.GetWeakPtr());