| Index: chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| index ee1b6ec4e845ecb4a51eddd07da57dc40cbc92b9..3a39fba74f3b9ea76e5ddcfdc4ab8c3ea5f70f2f 100644
|
| --- a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| +++ b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc
|
| @@ -397,16 +397,17 @@ void ExtensionInstalledBubble::ShowInternal() {
|
| StartFade(true);
|
| }
|
|
|
| -gfx::Point ExtensionInstalledBubble::GetAnchorPoint() {
|
| +gfx::Rect ExtensionInstalledBubble::GetAnchorRect() {
|
| // For omnibox keyword bubbles, move the arrow to point to the left edge
|
| // of the omnibox, just to the right of the icon.
|
| if (type_ == OMNIBOX_KEYWORD) {
|
| LocationBarView* location_bar_view =
|
| BrowserView::GetBrowserViewForBrowser(browser_)->GetLocationBarView();
|
| - return location_bar_view->GetLocationEntryOrigin().Add(
|
| - gfx::Point(0, location_bar_view->location_entry_view()->height()));
|
| + return gfx::Rect(location_bar_view->GetLocationEntryOrigin().Add(
|
| + gfx::Point(0, location_bar_view->location_entry_view()->height())),
|
| + gfx::Size());
|
| }
|
| - return views::BubbleDelegateView::GetAnchorPoint();
|
| + return views::BubbleDelegateView::GetAnchorRect();
|
| }
|
|
|
| views::BubbleBorder::ArrowLocation
|
|
|