Index: chrome/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents.cc (revision 18879) |
+++ chrome/browser/tab_contents/tab_contents.cc (working copy) |
@@ -812,6 +812,9 @@ |
DOMUI* dom_ui = GetDOMUIForCurrentState(); |
if (dom_ui) |
return dom_ui->focus_location_bar_by_default(); |
+ NavigationEntry* entry = controller_.GetActiveEntry(); |
+ if (entry && entry->url() == GURL("about:blank")) |
+ return true; |
return false; |
} |