Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 42f2e7bde04f318da9ed8f6f819a4da412de0162..d0cb081133782cda7835c75e6b162019f9e13d38 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -381,7 +381,7 @@ OSStatus KeychainCallback(SecKeychainEvent keychain_event, |
} |
#endif |
-void RegisterComponentsForUpdate(const CommandLine& command_line) { |
+void RegisterComponentsForUpdate() { |
component_updater::ComponentUpdateService* cus = |
g_browser_process->component_updater(); |
@@ -392,8 +392,7 @@ void RegisterComponentsForUpdate(const CommandLine& command_line) { |
RegisterRecoveryComponent(cus, g_browser_process->local_state()); |
RegisterPepperFlashComponent(cus); |
RegisterSwiftShaderComponent(cus); |
- g_browser_process->pnacl_component_installer()->RegisterPnaclComponent( |
- cus, command_line); |
+ g_browser_process->pnacl_component_installer()->RegisterPnaclComponent(cus); |
RegisterWidevineCdmComponent(cus); |
#endif |
@@ -1454,7 +1453,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() { |
browser_process_->notification_ui_manager(); |
if (!parsed_command_line().HasSwitch(switches::kDisableComponentUpdate)) |
- RegisterComponentsForUpdate(parsed_command_line()); |
+ RegisterComponentsForUpdate(); |
#if defined(OS_ANDROID) |
chrome_variations::VariationsService* variations_service = |