DescriptionDefer style recalc when inserting extension stylesheets.
StyleEngine::addAuthorSheet, used when injecting stylesheets from extensions,
was doing a synchronous style recalc. Adding two stylesheets in a row would
cause two style recalcs. Do a deferred style recalc instead.
BUG=374901, 374162
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174424
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174555
Patch Set 1 #Patch Set 2 : Added unit test. #Patch Set 3 : Added some comments #Patch Set 4 : NodeRenderStyle.h include needed on Mac. #Patch Set 5 : Avoid Android crash #
Total comments: 1
Messages
Total messages: 18 (0 generated)
|