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 9e84f2d6a9358652452dc19e2294ac9399b89ae6..e53c5f517e7cb341be860d66650d3eb44e947902 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()); |
} |
} |