Index: webkit/media/android/webmediaplayer_android.cc |
diff --git a/webkit/media/android/webmediaplayer_android.cc b/webkit/media/android/webmediaplayer_android.cc |
index b105c35682ce9f13518270f158559242b695b5b6..a7367028632c0f4a8320d7333895594c795a0459 100644 |
--- a/webkit/media/android/webmediaplayer_android.cc |
+++ b/webkit/media/android/webmediaplayer_android.cc |
@@ -335,10 +335,9 @@ void WebMediaPlayerAndroid::OnVideoSizeChanged(int width, int height) { |
natural_size_.height = height; |
if (texture_id_) { |
video_frame_.reset(new WebVideoFrameImpl(VideoFrame::WrapNativeTexture( |
- texture_id_, kGLTextureExternalOES, natural_size_, natural_size_, |
- base::TimeDelta(), |
- VideoFrame::ReadPixelsCB(), |
- base::Closure()))); |
+ texture_id_, kGLTextureExternalOES, natural_size_, |
+ gfx::Rect(natural_size_), natural_size_, base::TimeDelta(), |
+ VideoFrame::ReadPixelsCB(), base::Closure()))); |
} |
} |