[iOS] Enable caption support in full screen.
Created attachment 227450 [details] Patch
Created attachment 227775 [details] Patch
Comment on attachment 227775 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=227775&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:33 > +#include <wtf/WeakPtr.h> Is this required? > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:814 > + CGRect textFrame = m_videoLayer ? [m_videoLayer videoRect] : (CGRect)frame; Can't you use static_cast<CGRect>() ? > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1493 > + CGRect frame = CGRectMake(0, 0, m_videoFullscreenFrame.width(), m_videoFullscreenFrame.height()); Nit: this local isn't really necessary.
(In reply to comment #3) > (From update of attachment 227775 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=227775&action=review > > > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:33 > > +#include <wtf/WeakPtr.h> > > Is this required? Nope. Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:814 > > + CGRect textFrame = m_videoLayer ? [m_videoLayer videoRect] : (CGRect)frame; > > Can't you use static_cast<CGRect>() ? Yep. Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1493 > > + CGRect frame = CGRectMake(0, 0, m_videoFullscreenFrame.width(), m_videoFullscreenFrame.height()); > > Nit: this local isn't really necessary. Sure ain't.
Committed r166268: <http://trac.webkit.org/changeset/166268>