Index: chrome/browser/chromeos/compact_navigation_bar.cc |
=================================================================== |
--- chrome/browser/chromeos/compact_navigation_bar.cc (revision 26251) |
+++ chrome/browser/chromeos/compact_navigation_bar.cc (working copy) |
@@ -199,10 +199,10 @@ |
return std::wstring(); |
} |
-gfx::Rect CompactNavigationBar::GetPopupBounds() const { |
- gfx::Point upper_left(0, height()); |
- ConvertPointToScreen(this, &upper_left); |
- return gfx::Rect(upper_left.x(), upper_left.y(), 700, 100); |
+gfx::Rect CompactNavigationBar::GetLocationStackBounds() const { |
+ gfx::Point origin; |
+ ConvertPointToScreen(this, &origin); |
+ return gfx::Rect(origin, size()); |
} |
void CompactNavigationBar::AddTabWithURL(const GURL& url, |