diff options
author | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 18:41:34 +0000 |
---|---|---|
committer | rohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 18:41:34 +0000 |
commit | c57a65632f3e4cabc45f380b77d7141c7f9b0a27 (patch) | |
tree | 1d58a13e2496c19ed4a76a9e1b9e28a7131890ff /chrome/browser/cocoa/browser_window_controller.mm | |
parent | 1279d5f395182c6fa783da0d85216777d931af6b (diff) | |
download | chromium_src-c57a65632f3e4cabc45f380b77d7141c7f9b0a27.zip chromium_src-c57a65632f3e4cabc45f380b77d7141c7f9b0a27.tar.gz chromium_src-c57a65632f3e4cabc45f380b77d7141c7f9b0a27.tar.bz2 |
Adds a missing call to TabContents::WasHidden() on Mac.
Consolidates the WasHidden/DidBecomeSelected logic into a single method.
This change is needed to make the hung renderer dialog disappear when
switching tabs.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/141048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18926 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller.mm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm index 0401644..91a356f 100644 --- a/chrome/browser/cocoa/browser_window_controller.mm +++ b/chrome/browser/cocoa/browser_window_controller.mm @@ -609,7 +609,6 @@ willPositionSheet:(NSWindow *)sheet infobar_container_->ChangeTabContents(new_contents); contents_container_->SetTabContents(new_contents); #endif - newContents->DidBecomeSelected(); // Update all the UI bits. windowShim_->UpdateTitleBar(); |