diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 20:58:44 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 20:58:44 +0000 |
commit | 96b667d273c25e55150785848942c51f1a98851b (patch) | |
tree | 21ad2f8bc3a2148a517998f4ebb0157b22a75082 /chrome/browser/history_view.cc | |
parent | df40752a0913948b49086fee421b0d019f7de8da (diff) | |
download | chromium_src-96b667d273c25e55150785848942c51f1a98851b.zip chromium_src-96b667d273c25e55150785848942c51f1a98851b.tar.gz chromium_src-96b667d273c25e55150785848942c51f1a98851b.tar.bz2 |
Change all ConvertPointTo* methods to use gfx::Point instead of CPoint.
http://crbug.com/2186
Review URL: http://codereview.chromium.org/7317
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history_view.cc')
-rw-r--r-- | chrome/browser/history_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/history_view.cc b/chrome/browser/history_view.cc index 064e215..bdf29ba 100644 --- a/chrome/browser/history_view.cc +++ b/chrome/browser/history_view.cc @@ -557,11 +557,11 @@ void HistoryItemRenderer::SetDisplayStyle(bool show_full) { void HistoryItemRenderer::StarStateChanged(bool state) { // Show the user a tip that can be used to edit the bookmark/star. - CPoint star_location(0, 0); + gfx::Point star_location; ChromeViews::View::ConvertPointToScreen(star_toggle_, &star_location); // Shift the location to make the bubble appear at a visually pleasing // location. - gfx::Rect star_bounds(star_location.x, star_location.y + 4, + gfx::Rect star_bounds(star_location.x(), star_location.y() + 4, star_toggle_->width(), star_toggle_->height()); HWND parent = GetViewContainer()->GetHWND(); |