| Index: chrome/browser/ui/views/dropdown_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/dropdown_bar_view.cc b/chrome/browser/ui/views/dropdown_bar_view.cc
|
| index 9e73d886579d2f4d07617963962ed5d9fba5b66a..b811c2136144bd8120cc0b2a29b8cf3717c65ffa 100644
|
| --- a/chrome/browser/ui/views/dropdown_bar_view.cc
|
| +++ b/chrome/browser/ui/views/dropdown_bar_view.cc
|
| @@ -56,7 +56,7 @@ DropdownBackground::DropdownBackground(BrowserView* browser_view,
|
| void DropdownBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
|
| // Find the offset from which to tile the toolbar background image.
|
| // First, get the origin with respect to the screen.
|
| - gfx::Point origin = view->GetWidget()->GetWindowScreenBounds().origin();
|
| + gfx::Point origin = view->GetWidget()->GetWindowBoundsInScreen().origin();
|
| // Now convert from screen to parent coordinates.
|
| view->ConvertPointToView(NULL, browser_view_, &origin);
|
| // Finally, calculate the background image tiling offset.
|
|
|