We're upgrading a lot of our ElementData to UniqueElementData for no reason.
Created attachment 216634 [details] Patch!
Comment on attachment 216634 [details] Patch! nice catch
Comment on attachment 216634 [details] Patch! View in context: https://bugs.webkit.org/attachment.cgi?id=216634&action=review > Source/WebCore/dom/Element.cpp:1202 > - const SpaceSplitString oldClasses = ensureUniqueElementData().classNames(); > + // Note: We'll need ElementData, but it doesn't have to be UniqueElementData. > + if (!elementData()) > + ensureUniqueElementData(); Doesn’t this idiom come up anywhere else? I would expect it to be called ensureElementData, except we don’t use the word ensure for this these days, do we?
<http://trac.webkit.org/r159104>