Index: chrome/browser/views/toolbar_star_toggle.cc |
=================================================================== |
--- chrome/browser/views/toolbar_star_toggle.cc (revision 3347) |
+++ chrome/browser/views/toolbar_star_toggle.cc (working copy) |
@@ -37,12 +37,12 @@ |
return; |
} |
- CPoint star_location(0, 0); |
+ gfx::Point star_location; |
ChromeViews::View::ConvertPointToScreen(this, &star_location); |
// Shift the x location by 1 as visually the center of the star appears 1 |
// pixel to the right. By doing this bubble arrow points to the center |
// of the star. |
- gfx::Rect star_bounds(star_location.x + 1, star_location.y, width(), |
+ gfx::Rect star_bounds(star_location.x() + 1, star_location.y(), width(), |
height()); |
BookmarkBubbleView::Show(host_->browser()->GetTopLevelHWND(), star_bounds, |
this, host_->profile(), url, newly_bookmarked); |