[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

simon.fraser at apple.com simon.fraser at apple.com
Thu Oct 29 20:43:22 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit b34bd70897359318ea9198a98718227a4a90d695
Author: simon.fraser at apple.com <simon.fraser at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Oct 12 16:29:42 2009 +0000

    2009-10-12  Simon Fraser  <simon.fraser at apple.com>
    
            Reviewed by Darin Adler.
    
            Video keeps playing after going fullscreen, then closing window
            https://bugs.webkit.org/show_bug.cgi?id=30164
    
            Clear the QTMovie on the QTMovieView when coming out of fullscreen,
            to fix issue where the underlying movie keeps playing.
    
            * WebView/WebVideoFullscreenController.mm:
            (-[WebVideoFullscreenController windowDidExitFullscreen]):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49443 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index 6a25ed5..2200f2c 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,16 @@
+2009-10-12  Simon Fraser  <simon.fraser at apple.com>
+
+        Reviewed by Darin Adler.
+
+        Video keeps playing after going fullscreen, then closing window
+        https://bugs.webkit.org/show_bug.cgi?id=30164
+        
+        Clear the QTMovie on the QTMovieView when coming out of fullscreen,
+        to fix issue where the underlying movie keeps playing.
+
+        * WebView/WebVideoFullscreenController.mm:
+        (-[WebVideoFullscreenController windowDidExitFullscreen]):
+
 2009-10-11  Dan Bernstein  <mitz at apple.com>
 
         Reviewed by Darin Adler.
diff --git a/WebKit/mac/WebView/WebVideoFullscreenController.mm b/WebKit/mac/WebView/WebVideoFullscreenController.mm
index 6592ad2..f54b177 100644
--- a/WebKit/mac/WebView/WebVideoFullscreenController.mm
+++ b/WebKit/mac/WebView/WebVideoFullscreenController.mm
@@ -135,6 +135,9 @@ SOFT_LINK_CLASS(QTKit, QTMovieView)
 
 - (void)windowDidExitFullscreen
 {
+    // If we don't clear the movie, underlying movie data structures are leaked and the movie keeps playing <rdar://problem/7295070>
+    [[[self fullscreenWindow] movieView] setMovie:nil];
+
     [self clearFadeAnimation];
     [[self window] close];
     [self setWindow:nil];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list