Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: chrome/browser/ui/tabs/tab_strip_model.cc

Issue 23129015: Initialize RenderWidget(Host)(View)s with correct visibility state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix aura, improve comment in RWHI Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | content/browser/renderer_host/render_view_host_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tabs/tab_strip_model.cc
diff --git a/chrome/browser/ui/tabs/tab_strip_model.cc b/chrome/browser/ui/tabs/tab_strip_model.cc
index a550ca0eac4eb795918b20af92e459524c5ebfc8..7b117fa823ab15782416df67ff6ef916856fa675 100644
--- a/chrome/browser/ui/tabs/tab_strip_model.cc
+++ b/chrome/browser/ui/tabs/tab_strip_model.cc
@@ -704,10 +704,6 @@ void TabStripModel::AddWebContents(WebContents* contents,
if ((add_types & ADD_ACTIVE) == 0) {
contents->GetView()->SizeContents(
old_contents->GetView()->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.
Charlie Reis 2013/08/19 22:18:03 Maybe add 20831 to the BUG list of the CL? There
jamesr 2013/08/19 23:50:40 Done.
- contents->WasHidden();
}
}
}
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | content/browser/renderer_host/render_view_host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698