| Summary: | Work around HTMLMediaElement::documentDidResumeFromPageCache being called twice | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||
| Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, kangil.han, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Eric Carlson
2015-05-13 13:49:27 PDT
Created attachment 253057 [details]
Proposed patch.
Comment on attachment 253057 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=253057&action=review > Source/WebCore/dom/Document.cpp:6556 > - ASSERT(!m_clientToIDMap.contains(&client)); > + if (m_clientToIDMap.contains(&client)) > + return; Seems worth a FIXME with a bug number. (In reply to comment #3) > Comment on attachment 253057 [details] > Proposed patch. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=253057&action=review > > > Source/WebCore/dom/Document.cpp:6556 > > - ASSERT(!m_clientToIDMap.contains(&client)); > > + if (m_clientToIDMap.contains(&client)) > > + return; > > Seems worth a FIXME with a bug number. Indeed. I filed https://webkit.org/b/144970, will reference it in code. Committed r184306: https://trac.webkit.org/r184306 |