Index: chrome/browser/extensions/user_script_loader.cc |
diff --git a/chrome/browser/extensions/user_script_loader.cc b/chrome/browser/extensions/user_script_loader.cc |
index d5652dfdcf619183083a2535be2625c9219d5711..3b38bd8c1cad4634c61365a8aeaaee0b6ea54928 100644 |
--- a/chrome/browser/extensions/user_script_loader.cc |
+++ b/chrome/browser/extensions/user_script_loader.cc |
@@ -352,8 +352,8 @@ UserScriptLoader::UserScriptLoader(Profile* profile, |
pending_load_(false), |
profile_(profile), |
owner_extension_id_(owner_extension_id), |
- weak_factory_(this), |
- extension_registry_observer_(this) { |
+ extension_registry_observer_(this), |
+ weak_factory_(this) { |
extension_registry_observer_.Add(ExtensionRegistry::Get(profile)); |
if (listen_for_extension_system_loaded) { |
ExtensionSystem::Get(profile_)->ready().Post( |