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

abarth at webkit.org abarth at webkit.org
Wed Dec 22 12:30:00 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 36b625253585bad807454eed83fbb453698efb94
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Aug 24 20:55:02 2010 +0000

    2010-08-24  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Darin Adler.
    
            Remove redundant call to OwnPtr::clear
            https://bugs.webkit.org/show_bug.cgi?id=44548
    
            As pointed out by Darin, this call to clear is not needed.
    
            * editing/TextIterator.cpp:
            (WebCore::plainTextToMallocAllocatedBuffer):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65933 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f1b9116..3906e5e 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,5 +1,17 @@
 2010-08-24  Adam Barth  <abarth at webkit.org>
 
+        Reviewed by Darin Adler.
+
+        Remove redundant call to OwnPtr::clear
+        https://bugs.webkit.org/show_bug.cgi?id=44548
+
+        As pointed out by Darin, this call to clear is not needed.
+
+        * editing/TextIterator.cpp:
+        (WebCore::plainTextToMallocAllocatedBuffer):
+
+2010-08-24  Adam Barth  <abarth at webkit.org>
+
         Reviewed by Eric Seidel.
 
         HTMLTokenizer::create
diff --git a/WebCore/editing/TextIterator.cpp b/WebCore/editing/TextIterator.cpp
index 5dc43a4..57f9a3c 100644
--- a/WebCore/editing/TextIterator.cpp
+++ b/WebCore/editing/TextIterator.cpp
@@ -2267,7 +2267,6 @@ exit:
         unsigned size = textSegments->size();
         for (unsigned i = 0; i < size; ++i)
             free(textSegments->at(i).first);
-        textSegments.clear();
     }
     
     if (isDisplayString && r->ownerDocument())

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list