| Index: chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.cc
|
| diff --git a/chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.cc b/chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.cc
|
| index 0297a73c047b6505eab9c4fc2d3f95f7fa48d7cd..94267f0853b6d0b7df85a37bd262e219d16f5164 100644
|
| --- a/chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.cc
|
| +++ b/chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.cc
|
| @@ -140,7 +140,7 @@ void ChromeTabContentsViewWrapperGtk::OnSetFloatingPosition(
|
|
|
| // Place each ConstrainedWindow in the center of the view.
|
| GtkWidget* widget = constrained_window_->widget();
|
| - DCHECK(widget->parent == floating_.get());
|
| + DCHECK(gtk_widget_get_parent(widget) == floating_.get());
|
|
|
| GtkRequisition requisition;
|
| gtk_widget_size_request(widget, &requisition);
|
|
|