Commit bfaa6467 authored by Mitsuru Oshima's avatar Mitsuru Oshima Committed by Commit Bot

Update properties when creating WindowState

Bug: 1001696
Test: tast ui.OverviewPerf
Change-Id: I9dd9ce83b2d626deed1bac718db46fc9c325967a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1877533
Commit-Queue: Mitsuru Oshima (slow) <oshima@chromium.org>
Reviewed-by: default avatarJun Mukai <mukai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709209}
parent 7510e601
......@@ -565,6 +565,7 @@ WindowState::WindowState(aura::Window* window)
ignore_property_change_(false),
current_state_(new DefaultState(ToWindowStateType(GetShowState()))) {
window_->AddObserver(this);
UpdateWindowPropertiesFromStateType();
OnPrePipStateChange(WindowStateType::kDefault);
}
......
Markdown is supported
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