Crash at WebCore::MediaControlRootElement::makeOpaque + 97
<rdar://problem/9670476>
Created attachment 122659 [details] Patch
Comment on attachment 122659 [details] Patch This patch needs to be rebased as it no longer applies cleanly because the function MediaControlRootElement::makeOpaque() has changed significantly. In particular, the line this patch changes no longer exists as it was removed in <http://trac.webkit.org/changeset/97157> (bug #58157). This changeset also moved the implementation of MediaControlRootElement::makeOpaque() into MediaControlPanelElement::makeOpaque() in file /Source/WebCore/html/shadow/MediaControlElements.cpp: <http://trac.webkit.org/browser/trunk/Source/WebCore/html/shadow/MediaControlElements.cpp?rev=105163#L207>.
Created attachment 123139 [details] Patch Rebased against new location of makeOpaque() code.
Comment on attachment 123139 [details] Patch Is the case where document()->page() is nil ever expected? If not, maybe it’s worth adding an assertion?
(In reply to comment #5) > (From update of attachment 123139 [details]) > Is the case where document()->page() is nil ever expected? If not, maybe it’s worth adding an assertion? In the Document.h header, it states that page() "can be NULL", so I assumed it was expected. Thanks!
Committed r105425: <http://trac.webkit.org/changeset/105425>