Bug 721888 - Fix compiler warnings. r=blassey

This commit is contained in:
Kartikaya Gupta 2012-01-27 21:00:03 -05:00
parent b8fdaacc86
commit fc17f62158

View File

@ -193,7 +193,7 @@ public class GeckoEvent {
PointF geckoPoint = new PointF(event.getX(eventIndex), event.getY(eventIndex));
geckoPoint = GeckoApp.mAppContext.getLayerController().convertViewPointToLayerPoint(geckoPoint);
mPoints[index] = new Point((int)Math.round(geckoPoint.x), (int)Math.round(geckoPoint.y));
mPoints[index] = new Point(Math.round(geckoPoint.x), Math.round(geckoPoint.y));
mPointIndicies[index] = event.getPointerId(eventIndex);
// getToolMajor, getToolMinor and getOrientation are API Level 9 features
if (Build.VERSION.SDK_INT >= 9) {