Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 619ff135c7e3f9db05e51ec4498cf5c896e395bf..b28484f7b088856fa6f1a64f66c9b7db0b2c0d9e 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -470,7 +470,7 @@ void ProfileImpl::InitExtensions(bool extensions_enabled) { |
if (command_line->HasSwitch(switches::kLoadExtension)) { |
FilePath path = command_line->GetSwitchValuePath( |
switches::kLoadExtension); |
- extension_service_->LoadExtension(path); |
+ extension_service_->LoadExtensionFromCommandLine(path); |
} |
} |