[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:44:14 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 6c41b205df8e8fd60220fffbaf0b39b7a417760a
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jun 5 18:36:12 2003 +0000

            Fixed: <rdar://problem/3268751>: REGRESSION: crash in KWQValueListImpl selecting connection speed at news.com
    
            Reviewed by darin.
    
            * kwq/KWQButton.mm:
            (QButton::clicked): Don't call clicked if the button was destroyed inside of sendConsumedMouseUpIfNeeded.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4487 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 0a12f2d..0e48999 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2003-06-05  Chris Blumenberg  <cblu at apple.com>
+
+        Fixed: <rdar://problem/3268751>: REGRESSION: crash in KWQValueListImpl selecting connection speed at news.com
+
+        Reviewed by darin.
+
+        * kwq/KWQButton.mm:
+        (QButton::clicked): Don't call clicked if the button was destroyed inside of sendConsumedMouseUpIfNeeded.
+
 2003-06-05  Darin Adler  <darin at apple.com>
 
         Reviewed by John.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 0a12f2d..0e48999 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2003-06-05  Chris Blumenberg  <cblu at apple.com>
+
+        Fixed: <rdar://problem/3268751>: REGRESSION: crash in KWQValueListImpl selecting connection speed at news.com
+
+        Reviewed by darin.
+
+        * kwq/KWQButton.mm:
+        (QButton::clicked): Don't call clicked if the button was destroyed inside of sendConsumedMouseUpIfNeeded.
+
 2003-06-05  Darin Adler  <darin at apple.com>
 
         Reviewed by John.
diff --git a/WebCore/kwq/KWQButton.mm b/WebCore/kwq/KWQButton.mm
index 560c7b1..a7b7221 100644
--- a/WebCore/kwq/KWQButton.mm
+++ b/WebCore/kwq/KWQButton.mm
@@ -117,5 +117,9 @@ void QButton::clicked()
     
     KWQButton *button = (KWQButton *)getView();
     [button sendConsumedMouseUpIfNeeded];
-    m_clicked.call();
+
+    // Don't call clicked if the button was destroyed inside of sendConsumedMouseUpIfNeeded.
+    if ([button target]) {
+        m_clicked.call();
+    }
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list