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

Unified Diff: content/child/child_thread.h

Issue 598483002: Fix WeakPtrFactory member ordering in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated changes as per comments 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: content/child/child_thread.h
diff --git a/content/child/child_thread.h b/content/child/child_thread.h
index 9b63fb8eeef21f67fb81c6aa29aa643866e93146..590e5705b4b045bd9ac3c63bdedbc29cbe5cafd0 100644
--- a/content/child/child_thread.h
+++ b/content/child/child_thread.h
@@ -241,8 +241,6 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
scoped_ptr<ChildSharedBitmapManager> shared_bitmap_manager_;
- base::WeakPtrFactory<ChildThread> channel_connected_factory_;
-
// Observes the trace event system. When tracing is enabled, optionally
// starts profiling the tcmalloc heap.
scoped_ptr<base::debug::TraceMemoryController> trace_memory_controller_;
@@ -251,6 +249,8 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
bool in_browser_process_;
+ base::WeakPtrFactory<ChildThread> channel_connected_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ChildThread);
};

Powered by Google App Engine
This is Rietveld 408576698