| Index: chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm b/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| index 86df521f5fdfff9c5c302ba7d767c45f2239087d..aec0f26ae39de291a665a7037a0485c070ef6cda 100644
|
| --- a/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/web_intent_bubble_controller.mm
|
| @@ -124,11 +124,8 @@ const CGFloat kTextWidth = kWindowWidth - (kImageSize + kImageSpacing +
|
|
|
| // A picker button has been pressed - invoke corresponding service.
|
| - (IBAction)invokeService:(id)sender {
|
| - if (picker_) {
|
| - WebIntentPickerCocoa* temp = picker_;
|
| - picker_ = NULL; // Abandon picker, we are done with it.
|
| - temp->OnServiceChosen([sender tag]);
|
| - }
|
| + if (picker_)
|
| + picker_->OnServiceChosen([sender tag]);
|
| }
|
|
|
| // Sets proprties on the given |field| to act as the title or description labels
|
|
|