Index: chrome/renderer/media/cast_session_browsertest.cc |
=================================================================== |
--- chrome/renderer/media/cast_session_browsertest.cc (revision 257128) |
+++ chrome/renderer/media/cast_session_browsertest.cc (working copy) |
@@ -6,6 +6,7 @@ |
#include "base/message_loop/message_loop_proxy.h" |
#include "base/run_loop.h" |
+#include "chrome/renderer/chrome_content_renderer_client.h" |
#include "chrome/test/base/chrome_render_view_test.h" |
namespace chrome { |
@@ -17,7 +18,9 @@ |
TEST_F(CastSessionBrowserTest, CreateAndDestroy) { |
chrome_render_thread_->set_io_message_loop_proxy( |
base::MessageLoopProxy::current()); |
- chrome_content_renderer_client_.RenderThreadStarted(); |
+ ChromeContentRendererClient* client = |
+ static_cast<ChromeContentRendererClient*>(content_renderer_client_.get()); |
+ client->RenderThreadStarted(); |
scoped_refptr<CastSession> session(new CastSession()); |