summaryrefslogtreecommitdiffstats
path: root/views/controls/table
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 20:51:10 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 20:51:10 +0000
commitd78f40f3543cd057d845625d1abce9cd79b0682c (patch)
tree3d5a0aec91ab97eb48afd2de6df7363522715640 /views/controls/table
parent1c977ab1081a4891419e40d6e4b1615c6e2583fb (diff)
downloadchromium_src-d78f40f3543cd057d845625d1abce9cd79b0682c.zip
chromium_src-d78f40f3543cd057d845625d1abce9cd79b0682c.tar.gz
chromium_src-d78f40f3543cd057d845625d1abce9cd79b0682c.tar.bz2
Uses POINT instead of CPoint to reduce the dependency in ATL.
Patch submitted by Thiago Farina: http://codereview.chromium.org/188017 BUG= http://crbug.com/2185 TEST=None Review URL: http://codereview.chromium.org/199009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/table')
-rw-r--r--views/controls/table/table_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/table/table_view.cc b/views/controls/table/table_view.cc
index f1e63e3..a2d65d3 100644
--- a/views/controls/table/table_view.cc
+++ b/views/controls/table/table_view.cc
@@ -537,9 +537,9 @@ LRESULT CALLBACK TableView::TableWndProc(HWND window,
// the position supplied in the l_param.
if (table_view->UILayoutIsRightToLeft() &&
(GET_X_LPARAM(l_param) != -1 || GET_Y_LPARAM(l_param) != -1)) {
- WTL::CPoint screen_point;
+ POINT screen_point;
GetCursorPos(&screen_point);
- WTL::CPoint table_point = screen_point;
+ POINT table_point = screen_point;
WTL::CRect client_rect;
if (ScreenToClient(window, &table_point) &&
GetClientRect(window, &client_rect) &&