| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 21658)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -1779,7 +1779,13 @@
|
| }
|
|
|
| NotifyConnected();
|
| + bool was_crashed = is_crashed();
|
| SetIsCrashed(false);
|
| +
|
| + // Restore the focus to the tab (otherwise the focus will be on the top
|
| + // window).
|
| + if (was_crashed && FocusLocationBarByDefault())
|
| + Focus();
|
| }
|
|
|
| void TabContents::RenderViewGone(RenderViewHost* rvh) {
|
|
|