| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 50450606f26c6f0484168043fb622d40f81a9cc1..4023c19829043fc3e1ed8f15ab2028fcefc22cc7 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -4387,10 +4387,17 @@ void Browser::OnStateChanged() {
|
| void Browser::ShowInstant(TabContentsWrapper* preview_contents) {
|
| DCHECK(instant_->tab_contents() == GetSelectedTabContentsWrapper());
|
| window_->ShowInstant(preview_contents);
|
| +
|
| + GetSelectedTabContents()->HideContents();
|
| + preview_contents->tab_contents()->ShowContents();
|
| }
|
|
|
| void Browser::HideInstant() {
|
| window_->HideInstant();
|
| + if (GetSelectedTabContents())
|
| + GetSelectedTabContents()->ShowContents();
|
| + if (instant_->GetPreviewContents())
|
| + instant_->GetPreviewContents()->tab_contents()->HideContents();
|
| }
|
|
|
| void Browser::CommitInstant(TabContentsWrapper* preview_contents) {
|
|
|