summaryrefslogtreecommitdiffstats
path: root/chromeos
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 01:08:21 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-05 01:08:21 +0000
commite96cfa2c5e221628897aed1278f7ea070982d3a6 (patch)
tree6ce231f49a88cc16d3b24759df1efa0bfc1b689a /chromeos
parenta892a5272d61a5491a61f71b601fd4e2b839fa09 (diff)
downloadchromium_src-e96cfa2c5e221628897aed1278f7ea070982d3a6.zip
chromium_src-e96cfa2c5e221628897aed1278f7ea070982d3a6.tar.gz
chromium_src-e96cfa2c5e221628897aed1278f7ea070982d3a6.tar.bz2
Fix non-Linux uses of WeakPtr<T>'s operator T* conversion
These cases were caught by the trybots. BUG=245942 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/15882007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204109 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos')
-rw-r--r--chromeos/network/managed_network_configuration_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromeos/network/managed_network_configuration_handler.cc b/chromeos/network/managed_network_configuration_handler.cc
index 8025034..462d0a6 100644
--- a/chromeos/network/managed_network_configuration_handler.cc
+++ b/chromeos/network/managed_network_configuration_handler.cc
@@ -591,7 +591,7 @@ class ManagedNetworkConfigurationHandler::PolicyApplicator
friend class base::RefCounted<PolicyApplicator>;
void GetProfileProperties(const base::DictionaryValue& profile_properties) {
- if (!handler_) {
+ if (!handler_.get()) {
LOG(WARNING) << "Handler destructed during policy application to profile "
<< profile_.ToDebugString();
return;
@@ -623,7 +623,7 @@ class ManagedNetworkConfigurationHandler::PolicyApplicator
void GetEntry(const std::string& entry,
const base::DictionaryValue& entry_properties) {
- if (!handler_) {
+ if (!handler_.get()) {
LOG(WARNING) << "Handler destructed during policy application to profile "
<< profile_.ToDebugString();
return;
@@ -736,7 +736,7 @@ class ManagedNetworkConfigurationHandler::PolicyApplicator
}
virtual ~PolicyApplicator() {
- if (!handler_) {
+ if (!handler_.get()) {
LOG(WARNING) << "Handler destructed during policy application to profile "
<< profile_.ToDebugString();
return;