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 3f0cd4afd610419a4036384f98c607cf2ff1439d..1738910b637334040c2e29165e9e39765ead9598 100644 |
--- a/chrome/browser/automation/testing_automation_provider_chromeos.cc |
+++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc |
@@ -954,7 +954,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"); |