Modify RenderBoxModelObject/RenderBox::updateBoxModelInfoFromStyle to cache the result of RenderObject::style() and use that result instead of repeatedly calling the style() method.
Created attachment 122410 [details]
Comment on attachment 122410 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=122410&action=review
> + Refactoring code therefore no new tests. (OOPS!)
CQ can't land this automatically with the OOPS intact, you need to remove it.
Also, you should mention why we are doing this, as it's not obvious since RenderObject::style() is just a trivial inline getter right now.