[Webkit-unassigned] [Bug 35876] HTMLMediaElement style improvements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 8 13:45:32 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35876





--- Comment #4 from Darin Adler <darin at apple.com>  2010-03-08 13:45:32 PST ---
src/WebMediaPlayerClientImpl.cpp:141: error: ‘WebCore::MediaPlayerClient’ is an
inaccessible base of ‘WebCore::HTMLMediaElement’

    Frame* frame = static_cast<HTMLMediaElement*>(
        m_mediaPlayer->mediaPlayerClient())->document()->frame();
    m_webMediaPlayer.set(createWebMediaPlayer(this, frame));

If the MediaPlayer is in fact always an HTMLMediaElement, then the class should
hold an HTMLMediaElement*, not a MediaPlayer*. It's not safe to downcast.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list