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

Unified Diff: content/child/threaded_data_provider.cc

Issue 504273002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « content/child/npapi/plugin_url_fetcher.cc ('k') | content/public/browser/browser_message_filter.cc » ('j') | 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 118b60cdfa2ae332f353e19f28e6c61abc17472d..22238498f1b1be7a0f8172172222fcdb7e7ccf4b 100644
--- a/content/child/threaded_data_provider.cc
+++ b/content/child/threaded_data_provider.cc
@@ -148,13 +148,13 @@ ThreadedDataProvider::ThreadedDataProvider(
main_thread_weak_factory_.GetWeakPtr(),
request_id);
- ChildThread::current()->channel()->AddFilter(filter_);
+ ChildThread::current()->channel()->AddFilter(filter_.get());
}
ThreadedDataProvider::~ThreadedDataProvider() {
DCHECK(ChildThread::current());
- ChildThread::current()->channel()->RemoveFilter(filter_);
+ ChildThread::current()->channel()->RemoveFilter(filter_.get());
delete threaded_data_receiver_;
}
« no previous file with comments | « content/child/npapi/plugin_url_fetcher.cc ('k') | content/public/browser/browser_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698