Index: content/renderer/media/webmediaplayer_ms.cc |
diff --git a/content/renderer/media/webmediaplayer_ms.cc b/content/renderer/media/webmediaplayer_ms.cc |
index 4134b847401689a95c11d40a397cc943521642a5..ded961c368e9aa0d9b7da9703cad724aa8492e99 100644 |
--- a/content/renderer/media/webmediaplayer_ms.cc |
+++ b/content/renderer/media/webmediaplayer_ms.cc |
@@ -14,7 +14,6 @@ |
#include "build/build_config.h" |
#include "cc/blink/context_provider_web_context.h" |
#include "cc/blink/web_layer_impl.h" |
-#include "cc/layers/layer_settings.h" |
#include "cc/layers/video_frame_provider_client_impl.h" |
#include "cc/layers/video_layer.h" |
#include "content/public/renderer/media_stream_audio_renderer.h" |
@@ -493,8 +492,7 @@ void WebMediaPlayerMS::OnFrameAvailable( |
if (video_frame_provider_.get()) { |
video_weblayer_.reset(new cc_blink::WebLayerImpl( |
- cc::VideoLayer::Create(cc::LayerSettings(), |
- compositor_.get(), media::VIDEO_ROTATION_0))); |
+ cc::VideoLayer::Create(compositor_.get(), media::VIDEO_ROTATION_0))); |
video_weblayer_->layer()->SetContentsOpaque(false); |
video_weblayer_->SetContentsOpaqueIsFixed(true); |
get_client()->setWebLayer(video_weblayer_.get()); |