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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:12:38 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit bc3e6291428fa2e473848b7288db9e383c6dfd57
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue May 14 13:52:18 2002 +0000

    	* kwq/KWQListImpl.mm: (KWQListIteratorImpl::KWQListIteratorImpl):
    	Add a missing check for a null pointer.
    
    	* kwq/KWQGuardedPtr.mm: (KWQGuardedPtrBase::KWQGuardedPtrBase):
    	Remove an unnecessary call to "toFirst", because new iterators
    	already default to pointing to the first element of the list.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 714659a..92f7931 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,12 @@
+2002-05-14  Darin Adler  <darin at apple.com>
+
+	* kwq/KWQListImpl.mm: (KWQListIteratorImpl::KWQListIteratorImpl):
+	Add a missing check for a null pointer.
+
+	* kwq/KWQGuardedPtr.mm: (KWQGuardedPtrBase::KWQGuardedPtrBase):
+	Remove an unnecessary call to "toFirst", because new iterators
+	already default to pointing to the first element of the list.
+
 2002-05-13  Darin Adler  <darin at apple.com>
 
 	* kwq/KWQListImpl.mm: (KWQListImpl::~KWQListImpl): Detach all the iterators from
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 714659a..92f7931 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2002-05-14  Darin Adler  <darin at apple.com>
+
+	* kwq/KWQListImpl.mm: (KWQListIteratorImpl::KWQListIteratorImpl):
+	Add a missing check for a null pointer.
+
+	* kwq/KWQGuardedPtr.mm: (KWQGuardedPtrBase::KWQGuardedPtrBase):
+	Remove an unnecessary call to "toFirst", because new iterators
+	already default to pointing to the first element of the list.
+
 2002-05-13  Darin Adler  <darin at apple.com>
 
 	* kwq/KWQListImpl.mm: (KWQListImpl::~KWQListImpl): Detach all the iterators from
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 714659a..92f7931 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2002-05-14  Darin Adler  <darin at apple.com>
+
+	* kwq/KWQListImpl.mm: (KWQListIteratorImpl::KWQListIteratorImpl):
+	Add a missing check for a null pointer.
+
+	* kwq/KWQGuardedPtr.mm: (KWQGuardedPtrBase::KWQGuardedPtrBase):
+	Remove an unnecessary call to "toFirst", because new iterators
+	already default to pointing to the first element of the list.
+
 2002-05-13  Darin Adler  <darin at apple.com>
 
 	* kwq/KWQListImpl.mm: (KWQListImpl::~KWQListImpl): Detach all the iterators from
diff --git a/WebCore/kwq/KWQGuardedPtr.mm b/WebCore/kwq/KWQGuardedPtr.mm
index fb7c75f..98d1e16 100644
--- a/WebCore/kwq/KWQGuardedPtr.mm
+++ b/WebCore/kwq/KWQGuardedPtr.mm
@@ -29,6 +29,5 @@ KWQGuardedPtrBase::KWQGuardedPtrBase(QObject *o)
 {
     if (o) {
         iterator = QPtrListIterator<QObject>(o->guardedPtrDummyList);
-        iterator.toFirst();
     }
 }
diff --git a/WebCore/kwq/KWQListImpl.mm b/WebCore/kwq/KWQListImpl.mm
index 09872e4..aa47b14 100644
--- a/WebCore/kwq/KWQListImpl.mm
+++ b/WebCore/kwq/KWQListImpl.mm
@@ -590,7 +590,9 @@ KWQListIteratorImpl::~KWQListIteratorImpl()
 KWQListIteratorImpl::KWQListIteratorImpl(const KWQListIteratorImpl &impl) :
     d(new KWQListIteratorImpl::KWQListIteratorPrivate(*impl.d->list, impl.d->node))
 {
-    d->list->addIterator(this);
+    if (d->list) {
+        d->list->addIterator(this);
+    }
 }
 
 uint KWQListIteratorImpl::count() const

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list