Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index b854c6b402238ac52e167e10b91220d5f5cd8b71..b0b6d7e26f801d14fe3b504633f36a97a822f1b3 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -3731,7 +3731,7 @@ void Browser::OnStartDownload(TabContents* source, DownloadItem* download) { |
if (!ChromeDownloadManagerDelegate::IsExtensionDownload(download) || |
(service == NULL) || |
!service->IsDownloadFromGallery(download->GetURL(), |
- download->referrer_url())) { |
+ download->GetReferrerUrl())) { |
// Open the Active Downloads ui for chromeos. |
ActiveDownloadsUI::OpenPopup(profile_); |
} |
@@ -3747,7 +3747,7 @@ void Browser::OnStartDownload(TabContents* source, DownloadItem* download) { |
// Don't show the animation if the selected tab is not visible (i.e. the |
// window is minimized, we're in a unit test, etc.). |
TabContents* shelf_tab = shelf->browser()->GetSelectedTabContents(); |
- if ((download->total_bytes() > 0) && |
+ if ((download->GetTotalBytes() > 0) && |
!ChromeDownloadManagerDelegate::IsExtensionDownload(download) && |
platform_util::IsVisible(shelf_tab->GetNativeView()) && |
ui::Animation::ShouldRenderRichAnimation()) { |