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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 12386019: Instant: Use only one hidden WebContents per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index a34a37e48c06f29b11d9cb9e053096e3921a459d..74ee863c2165a0096dfaf86900ffbe2b2c2db2f8 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1535,10 +1535,8 @@ void BrowserView::ActiveTabChanged(content::WebContents* old_contents,
// toggling the size of the main WebContents.
UpdateDevToolsForContents(new_contents);
- if (change_tab_contents) {
+ if (change_tab_contents)
contents_container_->SetWebContents(new_contents);
- contents_->MaybeStackOverlayAtTop();
- }
if (!browser_->tab_strip_model()->closing_all() && GetWidget()->IsActive() &&
GetWidget()->IsVisible()) {

Powered by Google App Engine
This is Rietveld 408576698