[Squad] Do not ask for cached pseudo element style.
The goal is to remove the need for a pseudo style cache for pseudo elements which have a PseudoElement on which we store a ComputedStyle and a LayoutObject. This CL removes an extra call to PseudoStyle() which would access the pseudo style cache to re-retrieve the ComputedStyle(). Instead use GetNonAttachedStyle() which would be set by the RecalcStyle() call for re-attachment, or to null if the PseudoElement is no longer needed. Bug: 836126 Change-Id: Ide807be656843fcbfad35fce7b2f3ed1c858a0f6 Reviewed-on: https://chromium-review.googlesource.com/1096761Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#566384}
Showing
Please register or sign in to comment