Avoid calling layout in StatusView's constructor
Calling layout code in StatusView's constructor would need to call its parent's virtual functions as well, which may not be ready in its constructor. This fix moves layout code into Layout() function to avoid such problem. BUG=945650 Change-Id: I93526fe84e92d1f601dbb5d08cbf45e1a88c6fc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539031Reviewed-by:Peter Kasting <pkasting@chromium.org> Commit-Queue: Wei Li <weili@chromium.org> Cr-Commit-Position: refs/heads/master@{#644695}
Showing
Please register or sign in to comment