| Index: chrome/browser/ui/gtk/slide_animator_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/slide_animator_gtk.cc b/chrome/browser/ui/gtk/slide_animator_gtk.cc
|
| index 3c1b9746fe66b8b598badc710877a53124e60e2d..a12364b3624ac77962dc13ed9702199169101979 100644
|
| --- a/chrome/browser/ui/gtk/slide_animator_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/slide_animator_gtk.cc
|
| @@ -119,7 +119,7 @@ void SlideAnimatorGtk::AnimationProgressed(const ui::Animation* animation) {
|
| int showing_height = static_cast<int>(req.height *
|
| animation_->GetCurrentValue());
|
| if (direction_ == DOWN) {
|
| - if (widget_.get()->parent) {
|
| + if (gtk_widget_get_parent(widget_.get())) {
|
| gtk_expanded_container_move(GTK_EXPANDED_CONTAINER(widget_.get()),
|
| child_, 0, showing_height - req.height);
|
| }
|
|
|