[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
hyatt
hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:47:58 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 94eb3eaf1dd613c1325d045be52f9c27531049c0
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Jul 21 20:29:33 2003 +0000
Fix removeAttributeNode. This is David Faure's patch.
Reviewed by me
* khtml/xml/dom_elementimpl.cpp:
(NamedAttrMapImpl::removeAttribute):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 4eff2af..d09db0f 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,14 @@
2003-07-21 Dave Hyatt <hyatt at apple.com>
+ Fix removeAttributeNode. This is David Faure's patch.
+
+ Reviewed by me
+
+ * khtml/xml/dom_elementimpl.cpp:
+ (NamedAttrMapImpl::removeAttribute):
+
+2003-07-21 Dave Hyatt <hyatt at apple.com>
+
Checking in David Faure's patch that fixes getElementsByTagName(*).
Reviewed by me
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 4eff2af..d09db0f 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,14 @@
2003-07-21 Dave Hyatt <hyatt at apple.com>
+ Fix removeAttributeNode. This is David Faure's patch.
+
+ Reviewed by me
+
+ * khtml/xml/dom_elementimpl.cpp:
+ (NamedAttrMapImpl::removeAttribute):
+
+2003-07-21 Dave Hyatt <hyatt at apple.com>
+
Checking in David Faure's patch that fixes getElementsByTagName(*).
Reviewed by me
diff --git a/WebCore/khtml/xml/dom_elementimpl.cpp b/WebCore/khtml/xml/dom_elementimpl.cpp
index c79fc8c..0505a15 100644
--- a/WebCore/khtml/xml/dom_elementimpl.cpp
+++ b/WebCore/khtml/xml/dom_elementimpl.cpp
@@ -773,11 +773,11 @@ void NamedAttrMapImpl::removeAttribute(NodeImpl::Id id)
// Notify the element that the attribute has been removed
// dispatch appropriate mutation events
- if (attr->_value) {
- attr->_value->deref();
+ if (element && attr->_value) {
+ DOMStringImpl* value = attr->_value;
attr->_value = 0;
- if (element)
- element->parseAttribute(attr);
+ element->parseAttribute(attr);
+ attr->_value = value;
}
if (element) {
element->dispatchAttrRemovalEvent(attr);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list