diff options
Diffstat (limited to 'chrome/views/view_unittest.cc')
-rw-r--r-- | chrome/views/view_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/view_unittest.cc b/chrome/views/view_unittest.cc index 94de4d2..e476bd1 100644 --- a/chrome/views/view_unittest.cc +++ b/chrome/views/view_unittest.cc @@ -539,9 +539,9 @@ class HitTestView : public ChromeViews::View { }; POINT ConvertPointToView(ChromeViews::View* view, const POINT& p) { - CPoint tmp = p; + gfx::Point tmp(p); ChromeViews::View::ConvertPointToView(view->GetRootView(), view, &tmp); - return tmp; + return tmp.ToPOINT(); } } |