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

eric at webkit.org eric at webkit.org
Wed Dec 22 11:49:35 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 03fee1eead5c1fbb8de7a36cbaf4f3d20e29d9b0
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Aug 8 17:45:22 2010 +0000

    2010-08-08  Nikita Vasilyev  <me at elv1s.ru>
    
            Reviewed by Pavel Feldman.
    
            Web Inspector: speed-up Element.prototype.removeChildren
            https://bugs.webkit.org/show_bug.cgi?id=43687
    
            * inspector/front-end/utilities.js:
            (Element.prototype.removeChildren):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 927d106..632c890 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-08  Nikita Vasilyev  <me at elv1s.ru>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: speed-up Element.prototype.removeChildren
+        https://bugs.webkit.org/show_bug.cgi?id=43687
+
+        * inspector/front-end/utilities.js:
+        (Element.prototype.removeChildren):
+
 2010-08-08  Ilya Tikhonovsky  <loislo at chromium.org>
 
         Reviewed by Pavel Feldman.
diff --git a/WebCore/inspector/front-end/utilities.js b/WebCore/inspector/front-end/utilities.js
index d248071..dd3e761 100644
--- a/WebCore/inspector/front-end/utilities.js
+++ b/WebCore/inspector/front-end/utilities.js
@@ -274,7 +274,8 @@ Element.prototype.query = function(query)
 
 Element.prototype.removeChildren = function()
 {
-    this.innerHTML = "";
+    if (this.firstChild)
+        this.textContent = "";
 }
 
 Element.prototype.isInsertionCaretInside = function()

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list