fix: DCHECK entering fullscreen while loading url (#35111)
* fix: DCHECK entering fullscreen while loading url * spec: fixup test
This commit is contained in:
parent
6c17dd2296
commit
7588bb7425
5 changed files with 45 additions and 9 deletions
|
@ -718,8 +718,10 @@ std::string NativeWindow::GetAccessibleTitle() {
|
|||
}
|
||||
|
||||
void NativeWindow::HandlePendingFullscreenTransitions() {
|
||||
if (pending_transitions_.empty())
|
||||
if (pending_transitions_.empty()) {
|
||||
set_fullscreen_transition_type(FullScreenTransitionType::NONE);
|
||||
return;
|
||||
}
|
||||
|
||||
bool next_transition = pending_transitions_.front();
|
||||
pending_transitions_.pop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue