DescriptionMissing return after class invalidation short-cut.
scheduleStyleInvalidationForClassChange skipped comparison when oldClasses
was empty, but forgot to return afterwards, causing invalidation sets to be
scheduled twice.
This fix increases runs/s by 10%+ on the added performance test.
R=esprehn@chromium.org,chrishtr@chromium.org
BUG=380874
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175568
Patch Set 1 #
Total comments: 2
Patch Set 2 : Removed stray comment and use the same property for all forced recalcs. #
Total comments: 2
Patch Set 3 : Use existing "root" element instead of creating a new one. #
Messages
Total messages: 11 (0 generated)
|