| Index: chrome/browser/download/download_shelf.cc
|
| diff --git a/chrome/browser/download/download_shelf.cc b/chrome/browser/download/download_shelf.cc
|
| index 843a662208d0dd52a2375d829122e9cd6776b9a0..659bf6f4700e1df1e80e5e4d111126d4eb8d4eb5 100644
|
| --- a/chrome/browser/download/download_shelf.cc
|
| +++ b/chrome/browser/download/download_shelf.cc
|
| @@ -17,6 +17,7 @@
|
| #include "content/public/browser/download_item.h"
|
| #include "content/public/browser/download_manager.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_view.h"
|
| #include "ui/base/animation/animation.h"
|
|
|
| using content::DownloadItem;
|
| @@ -124,7 +125,7 @@ void DownloadShelf::ShowDownload(DownloadItem* download) {
|
| browser()->tab_strip_model()->GetActiveWebContents();
|
| if (DownloadItemModel(download).ShouldShowDownloadStartedAnimation() &&
|
| shelf_tab &&
|
| - platform_util::IsVisible(shelf_tab->GetNativeView()) &&
|
| + platform_util::IsVisible(shelf_tab->GetView()->GetNativeView()) &&
|
| ui::Animation::ShouldRenderRichAnimation()) {
|
| DownloadStartedAnimation::Show(shelf_tab);
|
| }
|
|
|