-
eric.carlson@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120170 Reviewed by Simon Fraser. No new tests, it is only possible to test in the debugger. * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::hasAvailableVideoFrame): Drive by optimization. (WebCore::MediaPlayerPrivateAVFoundationObjC::paintCurrentFrameInContext): Move logic from paint here. (WebCore::MediaPlayerPrivateAVFoundationObjC::paint): Do nothing if we already have a video layer, otherwise call paint(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
97ae6a3c