summaryrefslogtreecommitdiffstats
path: root/content/browser/streams/stream_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/streams/stream_context.cc')
-rw-r--r--content/browser/streams/stream_context.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/streams/stream_context.cc b/content/browser/streams/stream_context.cc
index ef3a79d..44ca0f4 100644
--- a/content/browser/streams/stream_context.cc
+++ b/content/browser/streams/stream_context.cc
@@ -22,7 +22,7 @@ StreamContext* StreamContext::GetFor(BrowserContext* context) {
if (!context->GetUserData(kStreamContextKeyName)) {
scoped_refptr<StreamContext> stream = new StreamContext();
context->SetUserData(kStreamContextKeyName,
- new UserDataAdapter<StreamContext>(stream));
+ new UserDataAdapter<StreamContext>(stream.get()));
// Check first to avoid memory leak in unittests.
if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) {
BrowserThread::PostTask(