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

Unified Diff: chrome/browser/browser.cc

Issue 969003: Make repost form warning tab-modal on Mac. (Closed)
Patch Set: Remove an unnecessary line. Created 10 years, 9 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 | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index f4e1b3c7d8416ca40f1a6f989d7d868d0168d21f..93c25924a01033330ca3da881f26e56a3502d246 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2780,7 +2780,7 @@ void Browser::UpdateCommandsForTabState() {
!(type() & TYPE_APP) && tab_count() > 1);
// Current navigation entry, may be NULL.
- NavigationEntry* active_entry = current_tab->controller().GetActiveEntry();
+ NavigationEntry* active_entry = nc.GetActiveEntry();
// Page-related commands
window_->SetStarredState(current_tab->is_starred());
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698