Index: chrome/browser/ui/browser_instant_controller.cc |
diff --git a/chrome/browser/ui/browser_instant_controller.cc b/chrome/browser/ui/browser_instant_controller.cc |
index 895303e846827f05b99fdefb40218eaf21fedeeb..831297221caa70d5f62698bb261ae2a3879cff63 100644 |
--- a/chrome/browser/ui/browser_instant_controller.cc |
+++ b/chrome/browser/ui/browser_instant_controller.cc |
@@ -91,13 +91,13 @@ void BrowserInstantController::ShowInstant(TabContents* preview_contents) { |
// TODO(beng): investigate if we can avoid this and instead rely on the |
// visibility of the WebContentsView |
chrome::GetActiveWebContents(browser_)->WasHidden(); |
- preview_contents->web_contents()->WasRestored(); |
+ preview_contents->web_contents()->WasShown(); |
} |
void BrowserInstantController::HideInstant() { |
browser_->window()->HideInstant(); |
if (chrome::GetActiveWebContents(browser_)) |
- chrome::GetActiveWebContents(browser_)->WasRestored(); |
+ chrome::GetActiveWebContents(browser_)->WasShown(); |
if (instant_->GetPreviewContents()) |
instant_->GetPreviewContents()->web_contents()->WasHidden(); |
} |