| Index: chrome/browser/ui/cocoa/download/download_item_cell.mm
|
| diff --git a/chrome/browser/ui/cocoa/download/download_item_cell.mm b/chrome/browser/ui/cocoa/download/download_item_cell.mm
|
| index 793d805dfeee8349640e84100d789452c4395571..3b29656d66e7a319bdf7032c9528d81ec361a661 100644
|
| --- a/chrome/browser/ui/cocoa/download/download_item_cell.mm
|
| +++ b/chrome/browser/ui/cocoa/download/download_item_cell.mm
|
| @@ -175,7 +175,7 @@ const int kInterruptedAnimationDuration = 2.5;
|
| [self showSecondaryTitle];
|
| }
|
|
|
| - switch (downloadModel->download()->state()) {
|
| + switch (downloadModel->download()->GetState()) {
|
| case DownloadItem::COMPLETE:
|
| // Small downloads may start in a complete state due to asynchronous
|
| // notifications. In this case, we'll get a second complete notification
|
| @@ -210,7 +210,7 @@ const int kInterruptedAnimationDuration = 2.5;
|
| percentDone_ = -2;
|
| break;
|
| case DownloadItem::IN_PROGRESS:
|
| - percentDone_ = downloadModel->download()->is_paused() ?
|
| + percentDone_ = downloadModel->download()->IsPaused() ?
|
| -1 : downloadModel->download()->PercentComplete();
|
| break;
|
| default:
|
|
|