| Index: chrome/browser/views/browser_actions_container.cc
|
| diff --git a/chrome/browser/views/browser_actions_container.cc b/chrome/browser/views/browser_actions_container.cc
|
| index 45a0116c9d6c5b577aeb5fc120dd0ada97d5450a..944b68385d3974ab58d0aed276699f2594ead31a 100644
|
| --- a/chrome/browser/views/browser_actions_container.cc
|
| +++ b/chrome/browser/views/browser_actions_container.cc
|
| @@ -332,8 +332,8 @@ void BrowserActionsContainer::OnBrowserActionExecuted(
|
| return;
|
|
|
| gfx::Point origin;
|
| - View::ConvertPointToWidget(button, &origin);
|
| - gfx::Rect rect = bounds();
|
| + View::ConvertPointToScreen(button, &origin);
|
| + gfx::Rect rect = button->bounds();
|
| rect.set_x(origin.x());
|
| rect.set_y(origin.y());
|
| popup_ = ExtensionPopup::Show(browser_action.popup_url(),
|
|
|