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

Unified Diff: content/child/threaded_data_provider.cc

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/threaded_data_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/threaded_data_provider.cc
diff --git a/content/child/threaded_data_provider.cc b/content/child/threaded_data_provider.cc
index 22238498f1b1be7a0f8172172222fcdb7e7ccf4b..812783995ebcccec65285e5c4bcee610c62b74df 100644
--- a/content/child/threaded_data_provider.cc
+++ b/content/child/threaded_data_provider.cc
@@ -124,14 +124,14 @@ ThreadedDataProvider::ThreadedDataProvider(
: request_id_(request_id),
shm_buffer_(shm_buffer),
shm_size_(shm_size),
- main_thread_weak_factory_(this),
background_thread_(
static_cast<WebThreadImpl&>(
*threaded_data_receiver->backgroundThread())),
ipc_channel_(ChildThread::current()->channel()),
threaded_data_receiver_(threaded_data_receiver),
resource_filter_active_(false),
- main_thread_message_loop_(ChildThread::current()->message_loop()) {
+ main_thread_message_loop_(ChildThread::current()->message_loop()),
+ main_thread_weak_factory_(this) {
DCHECK(ChildThread::current());
DCHECK(ipc_channel_);
DCHECK(threaded_data_receiver_);
« no previous file with comments | « content/child/threaded_data_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698