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

Unified Diff: components/suggestions/image_manager.h

Issue 780713002: Fix remaining WeakPtrFactory ordering problems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years 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: components/suggestions/image_manager.h
diff --git a/components/suggestions/image_manager.h b/components/suggestions/image_manager.h
index 1f7e39257cf5390b16b08dcc2caed1b848418086..99ae55e1a34c54a43751a4c6a27f01dff1093417 100644
--- a/components/suggestions/image_manager.h
+++ b/components/suggestions/image_manager.h
@@ -136,10 +136,10 @@ class ImageManager : public ImageFetcherDelegate {
bool database_ready_;
- base::WeakPtrFactory<ImageManager> weak_ptr_factory_;
-
base::ThreadChecker thread_checker_;
+ base::WeakPtrFactory<ImageManager> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ImageManager);
};
« no previous file with comments | « components/signin/core/browser/signin_manager.cc ('k') | components/sync_driver/device_info_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698