Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: chrome/views/view_unittest.cc

Issue 7317: Change all ConvertPointTo* methods to use gfx::Point instead of CPoint.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/views/view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/view_unittest.cc
===================================================================
--- chrome/views/view_unittest.cc (revision 3348)
+++ chrome/views/view_unittest.cc (working copy)
@@ -539,9 +539,9 @@
};
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();
}
}
« no previous file with comments | « chrome/views/view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698