diff options
Diffstat (limited to 'chrome/browser/cocoa/download_item_cell.mm')
-rw-r--r-- | chrome/browser/cocoa/download_item_cell.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/download_item_cell.mm b/chrome/browser/cocoa/download_item_cell.mm index a108565..8c180c7 100644 --- a/chrome/browser/cocoa/download_item_cell.mm +++ b/chrome/browser/cocoa/download_item_cell.mm @@ -13,6 +13,7 @@ #include "chrome/browser/download/download_item_model.h" #include "chrome/browser/download/download_manager.h" #include "chrome/browser/download/download_util.h" +#import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h" #import "third_party/GTM/AppKit/GTMTheme.h" namespace { @@ -548,8 +549,8 @@ const int kCompleteAnimationDuration = 2.5; - (id)initWithDownloadItemCell:(DownloadItemCell*)cell duration:(NSTimeInterval)duration animationCurve:(NSAnimationCurve)animationCurve { - if ((self = [super initWithDuration:duration - animationCurve:animationCurve])) { + if ((self = [super gtm_initWithDuration:duration + animationCurve:animationCurve])) { cell_ = cell; [self setAnimationBlockingMode:NSAnimationNonblocking]; } |