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

Unified Diff: chrome/browser/extensions/tab_helper.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/tab_helper.h
diff --git a/chrome/browser/extensions/tab_helper.h b/chrome/browser/extensions/tab_helper.h
index 8e8fef99e28c17aa8ee96a893302eb3906539e40..48c7fb9cf0749291aac7b543c347878f279e9c74 100644
--- a/chrome/browser/extensions/tab_helper.h
+++ b/chrome/browser/extensions/tab_helper.h
@@ -254,12 +254,12 @@ class TabHelper : public content::WebContentsObserver,
Profile* profile_;
- // Vend weak pointers that can be invalidated to stop in-progress loads.
- base::WeakPtrFactory<TabHelper> image_loader_ptr_factory_;
-
// Creates WebstoreInlineInstaller instances for inline install triggers.
scoped_ptr<WebstoreInlineInstallerFactory> webstore_inline_installer_factory_;
+ // Vend weak pointers that can be invalidated to stop in-progress loads.
+ base::WeakPtrFactory<TabHelper> image_loader_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(TabHelper);
};
« no previous file with comments | « chrome/browser/extensions/api/streams_private/streams_private_api.cc ('k') | chrome/browser/extensions/tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698