Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2141)

Unified Diff: chrome/browser/extensions/user_script_loader.cc

Issue 560913006: Changing the Weakptr initialization order in chrome/browser/extension folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/user_script_loader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/browser/extensions/user_script_loader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698