chore: debug crash on DevTools SetOwnerWindow (#47243)

This commit is contained in:
Shelley Vohr 2025-05-26 09:45:43 +02:00 committed by GitHub
commit c6f368acc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -530,6 +530,8 @@ void InspectableWebContents::CloseWindow() {
}
void InspectableWebContents::LoadCompleted() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
frontend_loaded_ = true;
if (managed_devtools_web_contents_)
view_->ShowDevTools(activate_);