| Index: chrome/browser/ui/gtk/download/download_started_animation_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/download/download_started_animation_gtk.cc b/chrome/browser/ui/gtk/download/download_started_animation_gtk.cc
|
| index caca11b4572024d712fc3702fe9be977aa26988c..8358a241e8558fb612c91b494180bb9f4e801203 100644
|
| --- a/chrome/browser/ui/gtk/download/download_started_animation_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/download/download_started_animation_gtk.cc
|
| @@ -15,6 +15,7 @@
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_view.h"
|
| #include "grit/theme_resources.h"
|
| #include "ui/base/animation/linear_animation.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| @@ -101,7 +102,7 @@ DownloadStartedAnimationGtk::DownloadStartedAnimationGtk(
|
|
|
| // If we're too small to show the download image, then don't bother -
|
| // the shelf will be enough.
|
| - web_contents_->GetContainerBounds(&web_contents_bounds_);
|
| + web_contents_->GetView()->GetContainerBounds(&web_contents_bounds_);
|
| if (web_contents_bounds_.height() < height_)
|
| return;
|
|
|
|
|