Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index 3844420bed2112b6596be0109e9e9597bdb5c9dd..26b21ba8cdede96df72c5b4517c8d71be4632bc5 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -4339,8 +4339,7 @@ void TestingAutomationProvider::SetAppLaunchType( |
return; |
} |
- extensions::SetLaunchType( |
- service->extension_prefs(), extension->id(), launch_type); |
+ extensions::SetLaunchType(service, extension->id(), launch_type); |
reply.SendSuccess(NULL); |
} |