summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 3f54397..ab11f37 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -736,7 +736,8 @@ void Browser::Reload() {
}
// As this is caused by a user action, give the focus to the page.
- current_tab->Focus();
+ if (!current_tab->FocusLocationBarByDefault())
+ current_tab->Focus();
current_tab->controller().Reload(true);
}
}