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

Unified Diff: content/common/child_thread.h

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/browser/worker_host/worker_storage_partition.cc ('k') | content/common/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/child_thread.h
diff --git a/content/common/child_thread.h b/content/common/child_thread.h
index 69a2f1cf42584d8746749b6b9d2dfdc034f6a93a..4df92037a01f558462d6b48f1568afb18d76a3e5 100644
--- a/content/common/child_thread.h
+++ b/content/common/child_thread.h
@@ -97,14 +97,14 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
// lifetime is less than the main thread. The |filter| returned may only
// be used on background threads.
IPC::SyncMessageFilter* sync_message_filter() const {
- return sync_message_filter_;
+ return sync_message_filter_.get();
}
// The getter should only be called on the main thread, however the
// IPC::Sender it returns may be safely called on any thread including
// the main thread.
ThreadSafeSender* thread_safe_sender() const {
- return thread_safe_sender_;
+ return thread_safe_sender_.get();
}
ChildHistogramMessageFilter* child_histogram_message_filter() const {
« no previous file with comments | « content/browser/worker_host/worker_storage_partition.cc ('k') | content/common/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698