Index: webkit/tools/test_shell/webwidget_host_win.cc |
=================================================================== |
--- webkit/tools/test_shell/webwidget_host_win.cc (revision 183517) |
+++ webkit/tools/test_shell/webwidget_host_win.cc (working copy) |
@@ -186,7 +186,8 @@ |
} |
void WebWidgetHost::SetCursor(HCURSOR cursor) { |
- SetClassLongPtr(view_, GCLP_HCURSOR, reinterpret_cast<LONG_PTR>(cursor)); |
+ SetClassLong(view_, GCL_HCURSOR, |
+ static_cast<LONG>(reinterpret_cast<LONG_PTR>(cursor))); |
::SetCursor(cursor); |
} |