Index: content/renderer/media/webmediaplayer_ms.cc |
diff --git a/content/renderer/media/webmediaplayer_ms.cc b/content/renderer/media/webmediaplayer_ms.cc |
index 90c6f45cef6d95bbb30c48e1dccdc0dcb3a8ffd8..9cad1e5013e951e8755045a989073a4243f96eef 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" |
@@ -498,8 +497,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()); |