diff options
Diffstat (limited to 'chrome/browser/mac/keystone_glue.mm')
-rw-r--r-- | chrome/browser/mac/keystone_glue.mm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/browser/mac/keystone_glue.mm b/chrome/browser/mac/keystone_glue.mm index 4236206..8b00373 100644 --- a/chrome/browser/mac/keystone_glue.mm +++ b/chrome/browser/mac/keystone_glue.mm @@ -892,12 +892,6 @@ NSString* const kVersionKey = @"KSVersion"; // Upon completion, ksr::KSRegistrationPromotionDidCompleteNotification will // be posted, and -promotionComplete: will be called. - - // If synchronous, see to it that this happens immediately. Give it a - // 10-second deadline. - if (synchronous) { - CFRunLoopRunInMode(kCFRunLoopDefaultMode, 10, false); - } } - (void)promotionComplete:(NSNotification*)notification { @@ -916,13 +910,6 @@ NSString* const kVersionKey = @"KSVersion"; authorization_.reset(); [self updateStatus:kAutoupdatePromoteFailed version:nil]; } - - if (synchronousPromotion_) { - // The run loop doesn't need to wait for this any longer. - CFRunLoopRef runLoop = CFRunLoopGetCurrent(); - CFRunLoopStop(runLoop); - CFRunLoopWakeUp(runLoop); - } } - (void)changePermissionsForPromotionAsync { |