Index: webkit/media/android/webmediaplayer_android.cc |
diff --git a/webkit/media/android/webmediaplayer_android.cc b/webkit/media/android/webmediaplayer_android.cc |
index ef457b25e5d4f7a9ed113b028d99647e2a57141b..bbf2b8f6cff08f79b298d09fbcdfc90e01087efd 100644 |
--- a/webkit/media/android/webmediaplayer_android.cc |
+++ b/webkit/media/android/webmediaplayer_android.cc |
@@ -449,11 +449,11 @@ void WebMediaPlayerAndroid::OnVideoSizeChanged(int width, int height) { |
if (natural_size_.width == width && natural_size_.height == height) |
return; |
- natural_size_.width = width; |
- natural_size_.height = height; |
+ natural_size_.SetSize(width, height); |
if (texture_id_) { |
video_frame_.reset(new WebVideoFrameImpl(VideoFrame::WrapNativeTexture( |
- texture_id_, kGLTextureExternalOES, width, height, base::TimeDelta(), |
+ texture_id_, kGLTextureExternalOES, natural_size_, natural_size_, |
+ base::TimeDelta(), |
base::Closure()))); |
} |
} |