Changeset 68774 in webkit


Ignore:
Timestamp:
Sep 30, 2010 5:00:26 AM (14 years ago)
Author:
vestbo@webkit.org
Message:

[Qt] Ensure that the media player backend does not leave any resources around

Reviewed by Simon Hausmann.

  • platform/graphics/qt/MediaPlayerPrivateQt.cpp:

(WebCore::MediaPlayerPrivateQt::~MediaPlayerPrivateQt):

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r68773 r68774  
    1313        (WebCore::AffineTransform::yScale):
    1414        * platform/graphics/transforms/AffineTransform.h:
     15
     162010-09-30  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
     17
     18        Reviewed by Simon Hausmann.
     19
     20        [Qt] Ensure that the media player backend does not leave any resources around
     21
     22        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
     23        (WebCore::MediaPlayerPrivateQt::~MediaPlayerPrivateQt):
    1524
    16252010-09-30  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
  • trunk/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp

    r68772 r68774  
    134134MediaPlayerPrivateQt::~MediaPlayerPrivateQt()
    135135{
     136    m_mediaPlayer->stop();
     137    m_mediaPlayer->setMedia(QMediaContent());
     138
    136139    delete m_mediaPlayer;
    137140    delete m_videoScene;
Note: See TracChangeset for help on using the changeset viewer.