Created attachment 552188 [details] [diff] [review]
fix build with clang
Add explict casts to short.
::Point is a OS provided data type, so we cannot change it. I could try adding
a nsShortPoint type and have WidgetToScreenOffset to return it, but that
is a virtual method used in other OSs, so doing the cast looked like the
Pushed to inbound.