Index: chrome/installer/mac/app/InstallerWindowController.m |
diff --git a/chrome/installer/mac/app/InstallerWindowController.m b/chrome/installer/mac/app/InstallerWindowController.m |
index b1b4354c1875b1a5f0c9166f4fd8d4f7d607e832..8fab0f8ed3e0f484a5f7eaa33918baa78cde009a 100644 |
--- a/chrome/installer/mac/app/InstallerWindowController.m |
+++ b/chrome/installer/mac/app/InstallerWindowController.m |
@@ -120,7 +120,13 @@ |
} |
- (void)updateDownloadProgress:(double)progressPercent { |
- progressBar_.doubleValue = progressPercent; |
+ if (progressPercent > 0.0) { |
+ progressBar_.doubleValue = progressPercent; |
+ } else { |
+ progressBar_.doubleValue = 0.0; |
+ progressBar_.indeterminate = YES; |
+ [progressBar_ startAnimation:nil]; |
+ } |
} |
- (void)enableLaunchButton { |