summaryrefslogtreecommitdiffstats
path: root/webkit/media/webmediaplayer_ms.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/media/webmediaplayer_ms.cc')
-rw-r--r--webkit/media/webmediaplayer_ms.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/media/webmediaplayer_ms.cc b/webkit/media/webmediaplayer_ms.cc
index b634323..740b5ea 100644
--- a/webkit/media/webmediaplayer_ms.cc
+++ b/webkit/media/webmediaplayer_ms.cc
@@ -273,7 +273,8 @@ void WebMediaPlayerMS::paint(WebCanvas* canvas,
DVLOG(3) << "WebMediaPlayerMS::paint";
DCHECK(thread_checker_.CalledOnValidThread());
- video_renderer_.Paint(current_frame_, canvas, rect, alpha);
+ gfx::RectF dest_rect(rect.x, rect.y, rect.width, rect.height);
+ video_renderer_.Paint(current_frame_, canvas, dest_rect, alpha);
}
bool WebMediaPlayerMS::hasSingleSecurityOrigin() const {