summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/js_mutation_event_observer.cc
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/js_mutation_event_observer.cc
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/js_mutation_event_observer.cc')
-rw-r--r--sync/internal_api/js_mutation_event_observer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/internal_api/js_mutation_event_observer.cc b/sync/internal_api/js_mutation_event_observer.cc
index 2dd3e51..6d85620 100644
--- a/sync/internal_api/js_mutation_event_observer.cc
+++ b/sync/internal_api/js_mutation_event_observer.cc
@@ -16,7 +16,7 @@
namespace syncer {
JsMutationEventObserver::JsMutationEventObserver()
- : weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {}
+ : weak_ptr_factory_(this) {}
JsMutationEventObserver::~JsMutationEventObserver() {
DCHECK(CalledOnValidThread());