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

Unified Diff: blimp/net/blob_channel/blob_channel_sender_impl.cc

Issue 2256363003: Clean up thread handling in Blimp browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wez feedback Created 4 years, 4 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 | « blimp/net/blob_channel/blob_channel_sender_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blob_channel/blob_channel_sender_impl.cc
diff --git a/blimp/net/blob_channel/blob_channel_sender_impl.cc b/blimp/net/blob_channel/blob_channel_sender_impl.cc
index 7baf09fec2051b24b1dfeb51a53c1a73af44ba5d..7d15480d764645c19dde1cff92ea1736d02ee7cc 100644
--- a/blimp/net/blob_channel/blob_channel_sender_impl.cc
+++ b/blimp/net/blob_channel/blob_channel_sender_impl.cc
@@ -15,7 +15,9 @@ namespace blimp {
BlobChannelSenderImpl::BlobChannelSenderImpl(std::unique_ptr<BlobCache> cache,
std::unique_ptr<Delegate> delegate)
- : cache_(std::move(cache)), delegate_(std::move(delegate)) {
+ : cache_(std::move(cache)),
+ delegate_(std::move(delegate)),
+ weak_factory_(this) {
DCHECK(cache_);
DCHECK(delegate_);
}
« no previous file with comments | « blimp/net/blob_channel/blob_channel_sender_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698