Index: extensions/browser/api/declarative/rules_registry.cc |
diff --git a/extensions/browser/api/declarative/rules_registry.cc b/extensions/browser/api/declarative/rules_registry.cc |
index ececdfdaa85cda66bbf7f600c0926cc6c78c8487..68aa434682fd610c93418b4362a2e9efe19595c6 100644 |
--- a/extensions/browser/api/declarative/rules_registry.cc |
+++ b/extensions/browser/api/declarative/rules_registry.cc |
@@ -80,8 +80,8 @@ RulesRegistry::RulesRegistry(content::BrowserContext* browser_context, |
webview_key_(webview_key), |
ready_(/*signaled=*/!cache_delegate), // Immediately ready if no cache |
// delegate to wait for. |
- weak_ptr_factory_(browser_context_ ? this : NULL), |
- last_generated_rule_identifier_id_(0) { |
+ last_generated_rule_identifier_id_(0), |
+ weak_ptr_factory_(browser_context_ ? this : NULL) { |
if (cache_delegate) { |
cache_delegate_ = cache_delegate->GetWeakPtr(); |
cache_delegate->Init(this); |