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

Unified Diff: content/renderer/scheduler/task_queue_manager.h

Issue 737353003: Fix WeakPtrFactory member ordering in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved typo Created 6 years, 1 month 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/scheduler/task_queue_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/scheduler/task_queue_manager.h
diff --git a/content/renderer/scheduler/task_queue_manager.h b/content/renderer/scheduler/task_queue_manager.h
index ebb7fdb7819ca51ed8070e2f50a62592e18d7c46..ac41e05ab6c1e979fe7d9aed6123b957221a4908 100644
--- a/content/renderer/scheduler/task_queue_manager.h
+++ b/content/renderer/scheduler/task_queue_manager.h
@@ -129,12 +129,13 @@ class CONTENT_EXPORT TaskQueueManager {
TaskQueueSelector* selector_;
base::WeakPtr<TaskQueueManager> task_queue_manager_weak_ptr_;
- base::WeakPtrFactory<TaskQueueManager> weak_factory_;
// The pending_dowork_count_ is only tracked on the main thread since that's
// where re-entrant problems happen.
int pending_dowork_count_;
+ base::WeakPtrFactory<TaskQueueManager> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(TaskQueueManager);
};
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/renderer/scheduler/task_queue_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698