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