[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

mthole at apple.com mthole at apple.com
Wed Dec 22 12:26:14 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 951409528caf31d2d1b197787e900af60b65e627
Author: mthole at apple.com <mthole at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Aug 23 18:28:45 2010 +0000

    WebPDFView should remove itself as the delegate of its PDFView before being dealloced
    https://bugs.webkit.org/show_bug.cgi?id=44441
    
    Reviewed by Dan Bernstein.
    
    * WebView/WebPDFView.mm:
    (-[WebPDFView dealloc]): Set the PDFView's delegate to nil.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65820 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index 165f46c..3afbe74 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-23  Mike Thole  <mthole at apple.com>
+
+        Reviewed by Dan Bernstein.
+
+        WebPDFView should remove itself as the delegate of its PDFView before being dealloced
+        https://bugs.webkit.org/show_bug.cgi?id=44441
+
+        * WebView/WebPDFView.mm:
+        (-[WebPDFView dealloc]): Set the PDFView's delegate to nil.
+
 2010-08-22  Daniel Bates  <dbates at rim.com>
 
         Reviewed by Eric Seidel.
diff --git a/WebKit/mac/WebView/WebPDFView.mm b/WebKit/mac/WebView/WebPDFView.mm
index 1be3033..5e7b73c 100644
--- a/WebKit/mac/WebView/WebPDFView.mm
+++ b/WebKit/mac/WebView/WebPDFView.mm
@@ -193,6 +193,7 @@ static BOOL _PDFSelectionsAreEqual(PDFSelection *selectionA, PDFSelection *selec
 {
     [dataSource release];
     [previewView release];
+    [PDFSubview setDelegate:nil];
     [PDFSubview release];
     [path release];
     [PDFSubviewProxy release];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list