Title: [151072] trunk/Source/WebCore
Revision
151072
Author
[email protected]
Date
2013-06-01 11:02:36 -0700 (Sat, 01 Jun 2013)

Log Message

Fix typo in r151071.

* dom/Element.cpp:
(WebCore::Element::attributeChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151071 => 151072)


--- trunk/Source/WebCore/ChangeLog	2013-06-01 10:20:25 UTC (rev 151071)
+++ trunk/Source/WebCore/ChangeLog	2013-06-01 18:02:36 UTC (rev 151072)
@@ -1,5 +1,12 @@
 2013-06-01  Andreas Kling  <[email protected]>
 
+        Fix typo in r151071.
+
+        * dom/Element.cpp:
+        (WebCore::Element::attributeChanged):
+
+2013-06-01  Andreas Kling  <[email protected]>
+
         Move Node::hasName() to Element.
         <http://webkit.org/b/117107>
 

Modified: trunk/Source/WebCore/dom/Element.cpp (151071 => 151072)


--- trunk/Source/WebCore/dom/Element.cpp	2013-06-01 10:20:25 UTC (rev 151071)
+++ trunk/Source/WebCore/dom/Element.cpp	2013-06-01 18:02:36 UTC (rev 151072)
@@ -1027,7 +1027,7 @@
     } else if (name == classAttr)
         classAttributeChanged(newValue);
     else if (name == HTMLNames::nameAttr)
-        elementData()->m_hasNameAttribute = newValue.isNull();
+        elementData()->m_hasNameAttribute = !newValue.isNull();
     else if (name == HTMLNames::pseudoAttr)
         shouldInvalidateStyle |= testShouldInvalidateStyle && isInShadowTree();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to