Fix low quality scaling of <video> on mac
Fix low quality scaling of <video> on mac

BUG=35534
TEST=Use sample in http://crbug.com/35534

Fixing bug 35534 of image quality if CSS scaling is applied
to a <video> tag.

On mac we currently create an image the same size of the width
and height attribute of the <video> tag regardless of the
transformation matrix of the canvas. If we use the scaling factor
in the transformation matrix and use it directly in the YUV
to RGB conversion, not only we solve the problem of low quality
image scaling but performance is also improved.

Review URL: http://codereview.chromium.org/660435

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@40546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser