Index: chrome/browser/automation/testing_automation_provider_chromeos.cc |
diff --git a/chrome/browser/automation/testing_automation_provider_chromeos.cc b/chrome/browser/automation/testing_automation_provider_chromeos.cc |
index 7966d06ab5d891f0ca678093e667fc8c4a6e2796..e4411cc771d41c5fe99efd819395856b5ee1487f 100644 |
--- a/chrome/browser/automation/testing_automation_provider_chromeos.cc |
+++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc |
@@ -900,7 +900,7 @@ void TestingAutomationProvider::FetchEnterprisePolicy( |
if (policy_subsystem) { |
// Set up an observer (it will delete itself). |
new CloudPolicyObserver(this, reply_message, connector, policy_subsystem); |
- connector->FetchDevicePolicy(); |
+ connector->FetchCloudPolicy(); |
} else { |
AutomationJSONReply(this, reply_message).SendError( |
"Unable to access CloudPolicySubsystem"); |