Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: chrome/browser/views/frame/browser_view2.cc

Issue 7323: Try and find the location of crash (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view2.cc
===================================================================
--- chrome/browser/views/frame/browser_view2.cc (revision 3307)
+++ chrome/browser/views/frame/browser_view2.cc (working copy)
@@ -201,6 +201,8 @@
// 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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698