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

Unified Diff: content/child/resource_dispatcher.h

Issue 809133002: ResourceDispatcher: put WeakPtrFactory last (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | content/child/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.h
diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
index 3aa69beffcc5b1b51e5cb482f66634f87260c082..9df2d868a956157e3efa88f4091086dc61729002 100644
--- a/content/child/resource_dispatcher.h
+++ b/content/child/resource_dispatcher.h
@@ -223,10 +223,10 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
// IO thread timestamp for ongoing IPC message.
base::TimeTicks io_timestamp_;
- base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
-
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
+ base::WeakPtrFactory<ResourceDispatcher> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ResourceDispatcher);
};
« no previous file with comments | « no previous file | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698