Remove ComputedStyle ref/deref within LayoutTreeBuilder.
As the LayoutTreeBuilder is only allowed to be stack-allocated, and doesn't take direct ownership of the ComputedStyle, we can just store a pointer to the ComputedStyle, instead of a scoped_refptr. There should be no behaviour change. Change-Id: Id70a0df625831aaf516b5b2c11537d9fd38498f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638617Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#665308}
Showing
Please register or sign in to comment