diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-26 08:13:10 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-26 08:13:10 +0000 |
commit | 637c17b8597c5e4f8b299acabbd62a0c03fb6c74 (patch) | |
tree | b6ea66918ee5637dafe4d3a2421191f1e502a253 /chromeos/network | |
parent | 97f25081ccef8ab56b0756c488a5882181984a51 (diff) | |
download | chromium_src-637c17b8597c5e4f8b299acabbd62a0c03fb6c74.zip chromium_src-637c17b8597c5e4f8b299acabbd62a0c03fb6c74.tar.gz chromium_src-637c17b8597c5e4f8b299acabbd62a0c03fb6c74.tar.bz2 |
chromeos: 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/14497004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/network')
-rw-r--r-- | chromeos/network/geolocation_handler.cc | 2 | ||||
-rw-r--r-- | chromeos/network/managed_network_configuration_handler.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chromeos/network/geolocation_handler.cc b/chromeos/network/geolocation_handler.cc index 65aca0d..ed9aeb5 100644 --- a/chromeos/network/geolocation_handler.cc +++ b/chromeos/network/geolocation_handler.cc @@ -17,7 +17,7 @@ static GeolocationHandler* g_geolocation_handler = NULL; GeolocationHandler::GeolocationHandler() : wifi_enabled_(false), - weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { + weak_ptr_factory_(this) { } GeolocationHandler::~GeolocationHandler() { diff --git a/chromeos/network/managed_network_configuration_handler.cc b/chromeos/network/managed_network_configuration_handler.cc index e41d011..58ab03f 100644 --- a/chromeos/network/managed_network_configuration_handler.cc +++ b/chromeos/network/managed_network_configuration_handler.cc @@ -903,7 +903,7 @@ ManagedNetworkConfigurationHandler::GetPoliciesForProfile( ManagedNetworkConfigurationHandler::ManagedNetworkConfigurationHandler() : user_policies_initialized_(false), device_policies_initialized_(false), - weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { + weak_ptr_factory_(this) { } ManagedNetworkConfigurationHandler::~ManagedNetworkConfigurationHandler() { |