Index: chrome/browser/tabs/tab_strip_model.cc |
=================================================================== |
--- chrome/browser/tabs/tab_strip_model.cc (revision 25769) |
+++ chrome/browser/tabs/tab_strip_model.cc (working copy) |
@@ -399,12 +399,11 @@ |
// new background tab. |
if (TabContents* old_contents = GetSelectedTabContents()) { |
if (!foreground) { |
- contents->HideContents(); |
contents->view()->SizeContents(old_contents->view()->GetContainerSize()); |
// 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->HideContents(); |
} |
} |
} |