DescriptionAvoid the hash table StyleInvalidator::clearInvalidation in Node::detach when possible
Accessing the hash table in every ::detach call is a lot of overhead since
in the common case the Element is not even in the hash table. We should
check the needsStyleInvalidation() bit first.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170539
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|