Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index f5f7c774390858ba5800e73787c4d8d08acb0fb6..bc922d0922cf479472de40af35d72947d6c70671 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -73,9 +73,7 @@ |
#include "content/renderer/media/render_media_log.h" |
#include "content/renderer/media/user_media_client_impl.h" |
#include "content/renderer/media/webcontentdecryptionmodule_impl.h" |
-#include "content/renderer/media/webmediaplayer_impl.h" |
#include "content/renderer/media/webmediaplayer_ms.h" |
-#include "content/renderer/media/webmediaplayer_params.h" |
#include "content/renderer/notification_permission_dispatcher.h" |
#include "content/renderer/notification_provider.h" |
#include "content/renderer/npapi/plugin_channel_host.h" |
@@ -92,6 +90,8 @@ |
#include "content/renderer/v8_value_converter_impl.h" |
#include "content/renderer/websharedworker_proxy.h" |
#include "media/base/audio_renderer_mixer_input.h" |
+#include "media/blink/webmediaplayer_impl.h" |
+#include "media/blink/webmediaplayer_params.h" |
#include "media/filters/gpu_video_accelerator_factories.h" |
#include "net/base/data_url.h" |
#include "net/base/net_errors.h" |
@@ -1598,7 +1598,7 @@ blink::WebMediaPlayer* RenderFrameImpl::createMediaPlayer( |
return CreateAndroidWebMediaPlayer(url, client); |
#else |
RenderThreadImpl* render_thread = RenderThreadImpl::current(); |
- WebMediaPlayerParams params( |
+ media::WebMediaPlayerParams params( |
base::Bind(&ContentRendererClient::DeferMediaLoad, |
base::Unretained(GetContentClient()->renderer()), |
static_cast<RenderFrame*>(this)), |
@@ -1610,8 +1610,10 @@ blink::WebMediaPlayer* RenderFrameImpl::createMediaPlayer( |
render_thread->GetMediaThreadTaskRunner(), |
render_thread->compositor_message_loop_proxy(), |
base::Bind(&EncryptedMediaPlayerSupportImpl::Create)); |
- return new WebMediaPlayerImpl(frame, client, weak_factory_.GetWeakPtr(), |
- params); |
+ return new media::WebMediaPlayerImpl(frame, |
+ client, |
+ weak_factory_.GetWeakPtr(), |
+ params); |
#endif // defined(OS_ANDROID) |
} |