RESOLVED FIXED 97070
[BlackBerry] remove static_cast which will cause video crash
https://bugs.webkit.org/show_bug.cgi?id=97070
Summary [BlackBerry] remove static_cast which will cause video crash
Jonathan Dong
Reported 2012-09-18 22:38:13 PDT
RIM PR: 187543 In some cases (e.g. test case media/video-size.html) we haven't had a chance to call load() to create a real media player before we use it, so the MediaPlayer->m_private is still pointing to a NullMediaPlayerPrivate, but we use static_cast to cast it to a (BlackBerry)MediaPlayerPrivate. This is a layering violation and will cause a runtime crash.
Attachments
Patch (2.58 KB, patch)
2012-09-18 22:56 PDT, Jonathan Dong
no flags
Jonathan Dong
Comment 1 2012-09-18 22:56:55 PDT
WebKit Review Bot
Comment 2 2012-09-19 07:11:25 PDT
Comment on attachment 164665 [details] Patch Clearing flags on attachment: 164665 Committed r129001: <http://trac.webkit.org/changeset/129001>
WebKit Review Bot
Comment 3 2012-09-19 07:11:28 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.