Index: chrome/renderer/media/cast_session_delegate.cc |
diff --git a/chrome/renderer/media/cast_session_delegate.cc b/chrome/renderer/media/cast_session_delegate.cc |
index c90982c8c9624abd47deb215ed498af62f471c56..1035ad52081463f81e63d5c84dbbbbfbfcbaf598 100644 |
--- a/chrome/renderer/media/cast_session_delegate.cc |
+++ b/chrome/renderer/media/cast_session_delegate.cc |
@@ -89,7 +89,7 @@ void CastSessionDelegate::StartUDP(const net::IPEndPoint& remote_endpoint, |
// CastSender uses the renderer's IO thread as the main thread. This reduces |
// thread hopping for incoming video frames and outgoing network packets. |
cast_environment_ = new CastEnvironment( |
- scoped_ptr<base::TickClock>(new base::DefaultTickClock()).Pass(), |
+ scoped_refptr<base::TickClock>(new base::DefaultTickClock()), |
base::MessageLoopProxy::current(), |
g_cast_threads.Get().GetAudioEncodeMessageLoopProxy(), |
g_cast_threads.Get().GetVideoEncodeMessageLoopProxy()); |