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

Unified Diff: content/browser/streams/stream_handle_impl.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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
Index: content/browser/streams/stream_handle_impl.cc
diff --git a/content/browser/streams/stream_handle_impl.cc b/content/browser/streams/stream_handle_impl.cc
index 11f69592b6f82405a2a02d635c7c00bf61d22a36..d9f877cbc7609354aed698a3e7b48a33806ade5b 100644
--- a/content/browser/streams/stream_handle_impl.cc
+++ b/content/browser/streams/stream_handle_impl.cc
@@ -16,8 +16,7 @@ StreamHandleImpl::StreamHandleImpl(const base::WeakPtr<Stream>& stream,
url_(stream->url()),
original_url_(original_url),
mime_type_(mime_type),
- stream_message_loop_(base::MessageLoopProxy::current()) {
-}
+ stream_message_loop_(base::MessageLoopProxy::current().get()) {}
StreamHandleImpl::~StreamHandleImpl() {
stream_message_loop_->PostTask(FROM_HERE,
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/web_contents/navigation_controller_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698