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

Unified Diff: chrome/browser/ui/browser_init.cc

Issue 9320056: Help: Implement the initial version of the cross-platform help/about page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove stale CSS. Created 8 years, 11 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
Index: chrome/browser/ui/browser_init.cc
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc
index 7ceece02f5f02bbbf8d7ede7e19c9c4023adfd95..2e9e76463bfb05271875475ba76141471a9b40dd 100644
--- a/chrome/browser/ui/browser_init.cc
+++ b/chrome/browser/ui/browser_init.cc
@@ -1227,7 +1227,8 @@ Browser* BrowserInit::LaunchWithProfile::OpenTabsInBrowser(
browser->window()->Show();
// TODO(jcampan): http://crbug.com/8123 we should not need to set the initial
// focus explicitly.
- browser->GetSelectedWebContents()->GetView()->SetInitialFocus();
+ if (browser->GetSelectedWebContents())
+ browser->GetSelectedWebContents()->GetView()->SetInitialFocus();
csilv 2012/02/03 19:43:52 just checking... intentional for this CL, or shoul
James Hawkins 2012/02/03 22:48:40 Will remove and do a separate CL.
return browser;
}

Powered by Google App Engine
This is Rietveld 408576698