system: Fix DCHECK hit when adding new display with stylus tools.
We try to update visibility in constructor which then checks for widget in GetEffectiveVisibility. The initialize local state code looks like it can be done after the shelf pod is added to a widget so move it there. Test: manual Change-Id: Ic7c2e7856ed76dce9008a6ad9f9c735ce1a05d81 Fixed: 1115191 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2349403Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/master@{#796975}
Showing
Please register or sign in to comment