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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_impl.cc

Issue 10958078: Merge 157974 - A crash fix: removed the entire implicated section as obsolete. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 3 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/ui/startup/startup_browser_creator_impl.cc
===================================================================
--- chrome/browser/ui/startup/startup_browser_creator_impl.cc (revision 158309)
+++ chrome/browser/ui/startup/startup_browser_creator_impl.cc (working copy)
@@ -797,12 +797,8 @@
// value of StartupBrowserCreated::show_main_browser_window_. If this was set
// to true ahead of this place, it means another task must have been spawned
// to take care of that.
- if (!browser_creator_ || browser_creator_->show_main_browser_window()) {
+ if (!browser_creator_ || browser_creator_->show_main_browser_window())
browser->window()->Show();
- // TODO(jcampan): http://crbug.com/8123 we should not need to set the
- // initial focus explicitly.
- chrome::GetActiveWebContents(browser)->GetView()->SetInitialFocus();
- }
return browser;
}
« 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