Bug 904245 - TWhitespace fixup r=kats
authorWes Johnston <wjohnston@mozilla.com>
Tue, 15 Oct 2013 08:08:10 -0700
changeset 165603 863087fdc7da7df0ced69f09c4e7d63b560db297
parent 165602 e6406d223b5056e57b11145967f73c48d9429551
child 165604 1960e499d49ff65ed613b0ed1dbc5f95c98b5502
push id428
push userbbajaj@mozilla.com
push dateTue, 28 Jan 2014 00:16:25 +0000
treeherdermozilla-release@cd72a7ff3a75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs904245
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 904245 - TWhitespace fixup r=kats
mobile/android/base/gfx/LayerView.java
--- a/mobile/android/base/gfx/LayerView.java
+++ b/mobile/android/base/gfx/LayerView.java
@@ -130,18 +130,18 @@ public class LayerView extends FrameLayo
     private Point getEventRadius(MotionEvent event) {
         if (Build.VERSION.SDK_INT >= 9) {
             return new Point((int)event.getToolMajor()/2,
                              (int)event.getToolMinor()/2);
         }
 
         float size = event.getSize();
         DisplayMetrics displaymetrics = getContext().getResources().getDisplayMetrics();
-        size = size*Math.min(displaymetrics.heightPixels, displaymetrics.widthPixels);
-        return new Point((int)size,(int)size);
+        size = size * Math.min(displaymetrics.heightPixels, displaymetrics.widthPixels);
+        return new Point((int)size, (int)size);
     }
 
     public void geckoConnected() {
         // See if we want to force 16-bit colour before doing anything
         PrefsHelper.getPref("gfx.android.rgb16.force", new PrefsHelper.PrefHandlerBase() {
             @Override public void prefValue(String pref, boolean force16bit) {
                 if (force16bit) {
                     GeckoAppShell.setScreenDepthOverride(16);