Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / renderer / media / cast_session_browsertest.cc
index 3fe21e8..fb55553 100644 (file)
@@ -15,9 +15,9 @@ typedef ChromeRenderViewTest CastSessionBrowserTest;
 // 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());