diff options
Diffstat (limited to 'chrome/browser/views/frame/browser_view2.cc')
-rw-r--r-- | chrome/browser/views/frame/browser_view2.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/browser_view2.cc b/chrome/browser/views/frame/browser_view2.cc index fbfa661..05dc75f 100644 --- a/chrome/browser/views/frame/browser_view2.cc +++ b/chrome/browser/views/frame/browser_view2.cc @@ -200,6 +200,8 @@ bool BrowserView2::ActivateAppModalDialog() const { // If another browser is app modal, flash and activate the modal browser. if (BrowserList::IsShowingAppModalDialog()) { if (browser_ != BrowserList::GetLastActive()) { + CHECK(BrowserList::GetLastActive()); + CHECK(BrowserList::GetLastActive()->window()); BrowserList::GetLastActive()->window()->FlashFrame(); BrowserList::GetLastActive()->MoveToFront(true); } |