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

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

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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/tab_contents/native_tab_contents_container_gtk.cc
===================================================================
--- chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc (revision 85284)
+++ chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc (working copy)
@@ -6,6 +6,7 @@
#include "chrome/browser/ui/view_ids.h"
#include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
+#include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
#include "content/browser/tab_contents/interstitial_page.h"
#include "content/browser/tab_contents/tab_contents.h"
@@ -37,6 +38,8 @@
// Now detach the TabContents.
Detach();
+
+ static_cast<TabContentsViewViews*>(contents->view())->Unparent();
}
void NativeTabContentsContainerGtk::SetFastResize(bool fast_resize) {

Powered by Google App Engine
This is Rietveld 408576698