Title: [109780] branches/chromium/963/Source/WebCore/dom/StyledElement.cpp
Revision
109780
Author
infe...@chromium.org
Date
2012-03-05 11:59:47 -0800 (Mon, 05 Mar 2012)

Log Message

getElementsByClassName result list no longer changes on class changes on m17 branch.

BUG=114068, 116789
Review URL: https://chromiumcodereview.appspot.com/9602021

Modified Paths

Diff

Modified: branches/chromium/963/Source/WebCore/dom/StyledElement.cpp (109779 => 109780)


--- branches/chromium/963/Source/WebCore/dom/StyledElement.cpp	2012-03-05 19:54:58 UTC (rev 109779)
+++ branches/chromium/963/Source/WebCore/dom/StyledElement.cpp	2012-03-05 19:59:47 UTC (rev 109780)
@@ -228,6 +228,8 @@
     } else if (attributeMap())
         attributeMap()->clearClass();
     setNeedsStyleRecalc();
+    document()->incDOMTreeVersion();
+    notifyNodeListsAttributeChanged();
 }
 
 void StyledElement::parseMappedAttribute(Attribute* attr)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to