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 88fb3ddca48e577c7cdef833382a1ad431799a4a..b813e5e90975874e8d0b4e75977e07820e08b835 100644 |
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble.cc |
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble.cc |
@@ -395,16 +395,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 |