forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BlackBerry] Handle re-entrant destruction of MediaPlayerPrivate whil…
…e a dialog is up https://bugs.webkit.org/show_bug.cgi?id=105906 Patch by Max Feil <mfeil@rim.com> on 2013-01-04 Reviewed by George Staikos. Now that dialogs are not truly modal anymore, we need to handle the case where MediaPlayerPrivate gets destroyed by re-entrant calls while a dialog is up. We do this by deferring the destruction of MMRPlayer until the user dismisses the dialog. No new tests because user dialog input is not yet part of the layouttest framework. * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate): (WebCore::MediaPlayerPrivate::waitMetadataTimerFired): (WebCore::MediaPlayerPrivate::onShowErrorDialog): * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h: (MediaPlayerPrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
7e1300d
commit 1c7b314
Showing
3 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters