// Tests that CastSession is created and destroyed properly inside
// chrome renderer.
TEST_F(CastSessionBrowserTest, CreateAndDestroy) {
- chrome_content_renderer_client_.RenderThreadStarted();
chrome_render_thread_->set_io_message_loop_proxy(
base::MessageLoopProxy::current());
+ chrome_content_renderer_client_.RenderThreadStarted();
scoped_refptr<CastSession> session(new CastSession());