Index: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc |
diff --git a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc |
index 0843634583101bce2bb5ea6ea32835a06140d20f..6d4f472f24feb68ecd270f41128d20bb5622e03f 100644 |
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc |
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc |
@@ -198,9 +198,9 @@ void BrowserPolicyConnectorChromeOS::Init( |
device_cloud_policy_invalidator_.reset(new DeviceCloudPolicyInvalidator); |
// request_context is NULL in unit tests. |
- if (request_context && install_attributes_) { |
+ if (request_context.get() && install_attributes_) { |
app_pack_updater_.reset( |
- new AppPackUpdater(request_context, install_attributes_.get())); |
+ new AppPackUpdater(request_context.get(), install_attributes_.get())); |
} |
SetTimezoneIfPolicyAvailable(); |