Skip to content
Snippets Groups Projects
Unverified Commit 632473e3 authored by trop[bot]'s avatar trop[bot] Committed by GitHub
Browse files

Propagate layout call to all children of InspectableWebContentsViewViews.


When BrowserView bounds are set from js, those might not trigger layout
immediately, sometimes propagating InvalidateLayout call to parent.
View is marked as needing layout, expecting to receive it from parent on
next layout call. The problem is that BrowserView's view is added as child
of InspectableWebContentsViews which does not call setBounds (which
would trigger layout) on all of it's children when doing it's layout,
so it skips propagating Layout call to its children BrowserViews views,
even though those were marked as needing layout.
Call base class View::Layout which will iterate over views' children
and call Layout on those that were marked as needing them.

Fixes #39993.

Co-authored-by: default avatarMarek Haranczyk <marek@openfin.co>
parent 7ed33db1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment