Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2090)

Unified Diff: chrome/browser/chromeos/policy/device_local_account_external_data_service.cc

Issue 549313004: Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/device_local_account_external_data_service.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_external_data_service.cc b/chrome/browser/chromeos/policy/device_local_account_external_data_service.cc
index 9bc0f72bb1fd1096710b710a9da36d81aacdbbc4..c08094fd72d3779c668b8aef96a2bfcb99aca1e6 100644
--- a/chrome/browser/chromeos/policy/device_local_account_external_data_service.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_external_data_service.cc
@@ -73,7 +73,7 @@ scoped_refptr<DeviceLocalAccountExternalDataManager>
CloudPolicyStore* policy_store) {
scoped_refptr<DeviceLocalAccountExternalDataManager>& external_data_manager =
external_data_managers_[account_id];
- if (!external_data_manager) {
+ if (!external_data_manager.get()) {
external_data_manager = new DeviceLocalAccountExternalDataManager(
account_id,
base::Bind(&GetChromePolicyDetails),

Powered by Google App Engine
This is Rietveld 408576698