-
akling@apple.com authored
<https://webkit.org/b/124184> We were calling Element::ensureUniqueElementData() for all Elements with a non-empty list of class names. Doing that on parser-fresh Elements caused us to upgrade them to UniqueElementData despite not needing it (ElementData::setClass() is a const function for caching the "cooked" class and can be called on ShareableElementData.) 1.09 MB progression on HTML5 spec at <http://whatwg.org/c> Reviewed by Antti Koivisto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e5720746