Improve performance in MarkContainerChainForOverflowRecalcIfNeeded()

The methods to check and set the visual overflow recalc flags
were both doing similar checks, so we were duplicating those calls.
In this change we somehow inline the code of that methods
so we avoid repeating those operations.

This is intended to improve performance in


Change-Id: Ica18dd6d07b9f8bca9c35c9db438fbc09bb4a53c
Commit-Queue: Manuel Rego <>
Reviewed-by: Chris Harrelson <>
Cr-Commit-Position: refs/heads/master@{#742546}
1 file changed