Index: content/renderer/media/android/webmediaplayer_android.cc |
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc |
index 89e650c53da63b8928ae75fcbe3bda472dd1aa59..9cce80b899d64d5dc47cd91164e66901efb42c66 100644 |
--- a/content/renderer/media/android/webmediaplayer_android.cc |
+++ b/content/renderer/media/android/webmediaplayer_android.cc |
@@ -966,8 +966,7 @@ void WebMediaPlayerAndroid::OnVideoSizeChanged(int width, int height) { |
// Lazily allocate compositing layer. |
if (!video_weblayer_) { |
video_weblayer_.reset(new cc_blink::WebLayerImpl( |
- cc::VideoLayer::Create(cc::LayerSettings(), this, |
- media::VIDEO_ROTATION_0))); |
+ cc::VideoLayer::Create(this, media::VIDEO_ROTATION_0))); |
client_->setWebLayer(video_weblayer_.get()); |
} |
} |