Chromium Code Reviews
Description[css-grid] Remove redundant setNeedsLayout() call
This extra call inside dirtyGrid() method was added as part of
crrev.com/887633002 as part of a fix for a crash. By that time the crash was
fixed but perhaps the underlying cause was not the lack of this extra
setNeedsLayout().
I've verified that the assertion is no longer triggered (by adding it back
as it was removed) and that the original test case that was crashing works
fine. This was double checked in an ASAN Debug build after running the test
for more than 10 minutes.
This removal will allow us to call dirtyGrid() even during intrinsic size
computation once all the attributes with cached data become mutable.
Committed: https://crrev.com/c113591d7ee0f0e03ad67b494b3ae4bb87de5911
Cr-Commit-Position: refs/heads/master@{#420303}
Patch Set 1 #
Messages
Total messages: 15 (8 generated)
|
|||||||||||||||||||