Revert 37061 because it caused ui_tests to not finish.

TBR=estade
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/549155

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37075 0039d316-1c4b-4281-b951-d872f2087c98
void BrowserActionsContainer::HidePopup() {
  if (popup_) {
    task_factory_.RevokeAll();

    ExtensionPopup* closing_popup = popup_;
    BrowserActionButton* closing_button = popup_button_;
    popup_ = NULL;
    popup_button_ = NULL;

    closing_popup->DetachFromBrowser();
    delete closing_popup;
    closing_button->SetButtonNotPushed();
    return;
  }
}

void BrowserActionsContainer::HidePopup() {
  if (popup_) {
    task_factory_.RevokeAll();

    ExtensionPopup* closing_popup = popup_;
    BrowserActionButton* closing_button = popup_button_;
    popup_ = NULL;
    popup_button_ = NULL;

    closing_popup->DetachFromBrowser();
    delete closing_popup;
    closing_button->SetButtonNotPushed();
    return;
  }
}
