2009-04-28 Eric Carlson <eric.carlson@apple.com>

        - fix the Tiger build

        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivate::cacheMovieScale):



git-svn-id: svn://svn.chromium.org/blink/trunk@42959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent f21bf405
2009-04-28 Eric Carlson <eric.carlson@apple.com>
- fix the Tiger build
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivate::cacheMovieScale):
2009-04-28 Sam Weinig <sam@webkit.org>
Reviewed by Beth Dakin.
......@@ -676,7 +676,8 @@ void MediaPlayerPrivate::cacheMovieScale()
@try {
initialSize = [[m_qtMovie.get() attributeForKey:QTMovieCurrentSizeAttribute] sizeValue];
} @catch (id) {
initialSize = naturalSize;
initialSize.width = naturalSize.width;
initialSize.height = naturalSize.height;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment