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

xan at webkit.org xan at webkit.org
Wed Dec 22 11:44:43 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8735257fb46694471d42e93ddf94f5e06355e4f6
Author: xan at webkit.org <xan at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Aug 5 16:57:32 2010 +0000

    2010-08-05  Xan Lopez  <xlopez at igalia.com>
    
            Reviewed by Gustavo Noronha.
    
            When trying to wrap a Node we know is an Element fallback to a
            simple Element wrapper in the worst case, not to Node.
    
            * bindings/gobject/WebKitDOMBinding.cpp:
            (WebKit::createWrapper):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 69ae890..80fa334 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-05  Xan Lopez  <xlopez at igalia.com>
+
+        Reviewed by Gustavo Noronha.
+
+        When trying to wrap a Node we know is an Element fallback to a
+        simple Element wrapper in the worst case, not to Node.
+
+        * bindings/gobject/WebKitDOMBinding.cpp:
+        (WebKit::createWrapper):
+
 2010-08-05  François Sausset  <sausset at gmail.com>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/WebCore/bindings/gobject/WebKitDOMBinding.cpp b/WebCore/bindings/gobject/WebKitDOMBinding.cpp
index 6d862b0..1154d6c 100644
--- a/WebCore/bindings/gobject/WebKitDOMBinding.cpp
+++ b/WebCore/bindings/gobject/WebKitDOMBinding.cpp
@@ -24,6 +24,7 @@
 #include "config.h"
 #include "WebKitDOMBinding.h"
 
+#include "Element.h"
 #include "Event.h"
 #include "EventException.h"
 #include "HTMLNames.h"
@@ -82,7 +83,7 @@ static gpointer createWrapper(Node* node)
         if (node->isHTMLElement())
             wrappedNode = createHTMLElementWrapper(static_cast<HTMLElement*>(node));
         else
-            wrappedNode = wrapNode(node);
+            wrappedNode = wrapElement(static_cast<Element*>(node));
         break;
     default:
         wrappedNode = wrapNode(node);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list