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 527dd71a90b44dfadefc8bb4b91de3e29c259a71..243e63cd7f3e1fb94a9344f8516c877f8bf29886 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -4337,8 +4337,7 @@ void TestingAutomationProvider::SetAppLaunchType( |
return; |
} |
- extensions::SetLaunchType( |
- service->extension_prefs(), extension->id(), launch_type); |
+ extensions::SetLaunchType(service, extension->id(), launch_type); |
reply.SendSuccess(NULL); |
} |