[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

jwieczorek at webkit.org jwieczorek at webkit.org
Thu Apr 8 02:23:47 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit a1b9b3a68f012ed4d59b5e087f59489cb9e57e5c
Author: jwieczorek at webkit.org <jwieczorek at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Mar 16 16:18:56 2010 +0000

    2010-03-16  Jakub Wieczorek  <jwieczorek at webkit.org>
    
            Reviewed by Eric Seidel.
    
            [Qt] MediaPlayerPrivate: Initialize m_mediaPlayerControl to 0 to
            avoid crashes when no media services can be found.
    
            https://bugs.webkit.org/show_bug.cgi?id=36142
    
            * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
            (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56065 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index cbc7f3c..2af32c6 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-03-16  Jakub Wieczorek  <jwieczorek at webkit.org>
+
+        Reviewed by Eric Seidel.
+
+        [Qt] MediaPlayerPrivate: Initialize m_mediaPlayerControl to 0 to avoid crashes
+        when no media services can be found.
+
+        https://bugs.webkit.org/show_bug.cgi?id=36142
+
+        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
+        (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
+
 2010-03-16  Adam Barth  <abarth at webkit.org>
 
         Unreviewed.
diff --git a/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp b/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
index 6677e72..66ffe23 100644
--- a/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
+++ b/WebCore/platform/graphics/qt/MediaPlayerPrivateQt.cpp
@@ -86,6 +86,7 @@ MediaPlayer::SupportsType MediaPlayerPrivate::supportsType(const String& mime, c
 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player)
     : m_player(player)
     , m_mediaPlayer(new QMediaPlayer)
+    , m_mediaPlayerControl(0)
     , m_videoItem(new QGraphicsVideoItem)
     , m_videoScene(new QGraphicsScene)
     , m_networkState(MediaPlayer::Empty)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list