summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/tabs/tab_strip_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/tabs/tab_strip_model.cc')
-rw-r--r--chrome/browser/ui/tabs/tab_strip_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/tabs/tab_strip_model.cc b/chrome/browser/ui/tabs/tab_strip_model.cc
index a4c434a..4db7864 100644
--- a/chrome/browser/ui/tabs/tab_strip_model.cc
+++ b/chrome/browser/ui/tabs/tab_strip_model.cc
@@ -728,7 +728,7 @@ void TabStripModel::AddTabContents(TabContents* contents,
// We need to hide the contents or else we get and execute paints for
// background tabs. With enough background tabs they will steal the
// backing store of the visible tab causing flashing. See bug 20831.
- contents->web_contents()->HideContents();
+ contents->web_contents()->WasHidden();
}
}
}