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

Unified Diff: content/child/threaded_data_provider.h

Issue 567873003: Refactoring the weak_ptr_factory order in src/content/child (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated patch 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
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/child/threaded_data_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/threaded_data_provider.h
diff --git a/content/child/threaded_data_provider.h b/content/child/threaded_data_provider.h
index 55ae060eaa93c4d09f9b77f881cacb3be3ceb98e..27e6d6062e78ca76a6e0d32109cf3317baf065a9 100644
--- a/content/child/threaded_data_provider.h
+++ b/content/child/threaded_data_provider.h
@@ -56,8 +56,6 @@ class ThreadedDataProvider {
int shm_size_;
scoped_ptr<base::WeakPtrFactory<ThreadedDataProvider> >
background_thread_weak_factory_;
- base::WeakPtrFactory<ThreadedDataProvider>
- main_thread_weak_factory_;
WebThreadImpl& background_thread_;
IPC::SyncChannel* ipc_channel_;
blink::WebThreadedDataReceiver* threaded_data_receiver_;
@@ -70,6 +68,9 @@ class ThreadedDataProvider {
};
std::vector<QueuedSharedMemoryData> queued_data_;
+ base::WeakPtrFactory<ThreadedDataProvider>
+ main_thread_weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ThreadedDataProvider);
};
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/child/threaded_data_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698