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

Unified Diff: chrome/browser/ui/views/tab_contents/tab_contents_container.cc

Issue 9243013: RenderWidgetHost::WasHidden is called twice on each tab switch on Aura. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tab_contents/tab_contents_container.cc
diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_container.cc b/chrome/browser/ui/views/tab_contents/tab_contents_container.cc
index 2e700524d2e342c9425ca0629926160c4c981888..c85c98c194303f92f9d641d4d8afffa2cbf7c56c 100644
--- a/chrome/browser/ui/views/tab_contents/tab_contents_container.cc
+++ b/chrome/browser/ui/views/tab_contents/tab_contents_container.cc
@@ -37,7 +37,6 @@ TabContentsContainer::~TabContentsContainer() {
void TabContentsContainer::ChangeWebContents(WebContents* contents) {
if (web_contents_) {
native_container_->DetachContents(web_contents_);
- web_contents_->WasHidden();
RemoveObservers();
}
web_contents_ = contents;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698