[EME] Call suspendIfNeeded() in the MediaKeySession constructor to avoid an ASSERT.
Created attachment 231108 [details] Patch
Comment on attachment 231108 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=231108&action=review > Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp:44 > + session->suspendIfNeeded(); Why not do this in the constructor?
(In reply to comment #2) > (From update of attachment 231108 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=231108&action=review > > > Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp:44 > > + session->suspendIfNeeded(); > > Why not do this in the constructor? We could, but it's generally a bad idea to call virtual functions in the constructor.
Comment on attachment 231108 [details] Patch Clearing flags on attachment: 231108 Committed r168533: <http://trac.webkit.org/changeset/168533>
All reviewed patches have been landed. Closing bug.