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

Unified Diff: chrome/browser/extensions/api/streams_private/streams_private_api.h

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
Index: chrome/browser/extensions/api/streams_private/streams_private_api.h
diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.h b/chrome/browser/extensions/api/streams_private/streams_private_api.h
index daa81c4b39caa86890d68d4abae6cba40d2c482a..c0494c9acf63d34a7e3ec27e3ba97e58d8325c72 100644
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.h
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.h
@@ -69,11 +69,13 @@ class StreamsPrivateAPI : public BrowserContextKeyedAPI,
content::BrowserContext* const browser_context_;
StreamMap streams_;
- base::WeakPtrFactory<StreamsPrivateAPI> weak_ptr_factory_;
// Listen to extension unloaded notifications.
ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
extension_registry_observer_;
+
+ base::WeakPtrFactory<StreamsPrivateAPI> weak_ptr_factory_;
+
};
class StreamsPrivateAbortFunction : public UIThreadExtensionFunction {

Powered by Google App Engine
This is Rietveld 408576698