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

dglazkov at chromium.org dglazkov at chromium.org
Wed Dec 22 12:14:13 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 7d09fd376a06e831be596a68605d881c6afd7d3a
Author: dglazkov at chromium.org <dglazkov at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Aug 17 17:55:58 2010 +0000

    Eliminate extra traversal of the tree when determining ability to lazy-attach a Node.
    https://bugs.webkit.org/show_bug.cgi?id=43749
    
    Reviewed by Eric Seidel.
    
    Land the actual change that I intended to land in http://trac.webkit.org/changeset/65508.
    
    Neither SVG nor inputs/counters shadow DOM are traveling down this path (they home-bake their attachment),
    so the check for shadow tree existence isn't needed.
    Gives a small, but consistent win in Dromaeo's DOM Modification test.
    
    * dom/Node.h:
    (WebCore::Node::canLazyAttach): Changed to always return true.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 36b6d12..41b1d5c 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,19 @@
+2010-08-17  Dimitri Glazkov  <dglazkov at chromium.org>
+
+        Reviewed by Eric Seidel.
+
+        Eliminate extra traversal of the tree when determining ability to lazy-attach a Node.
+        https://bugs.webkit.org/show_bug.cgi?id=43749
+
+        Land the actual change that I intended to land in http://trac.webkit.org/changeset/65508.
+
+        Neither SVG nor inputs/counters shadow DOM are traveling down this path (they home-bake their attachment),
+        so the check for shadow tree existence isn't needed.
+        Gives a small, but consistent win in Dromaeo's DOM Modification test.
+
+        * dom/Node.h:
+        (WebCore::Node::canLazyAttach): Changed to always return true.
+
 2010-08-17  Tor Arne Vestbø  <tor.arne.vestbo at nokia.com>
 
         Reviewed by Eric Carlson.
diff --git a/WebCore/dom/Node.h b/WebCore/dom/Node.h
index 1e858ba..ec16f05 100644
--- a/WebCore/dom/Node.h
+++ b/WebCore/dom/Node.h
@@ -317,7 +317,7 @@ public:
     void clearIsLink() { clearFlag(IsLinkFlag); }
 
     void lazyAttach();
-    virtual bool canLazyAttach() { return shadowAncestorNode() == this; }
+    virtual bool canLazyAttach() { return true; }
 
     virtual void setFocus(bool b = true);
     virtual void setActive(bool f = true, bool /*pause*/ = false) { setFlag(f, IsActiveFlag); }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list