Bug 714710 - LayerRenderer.checkFrameRateMonitorEnabled should use start() instead of run() [r=dougt]
authorMark Finkle <mfinkle@mozilla.com>
Tue, 03 Jan 2012 00:57:06 -0500
changeset 83675 03f3e1ebcd6462114e8b5b6d4129d6b58dc2beea
parent 83674 0284b1ff46c6c7decbc14d1492be1964a8580af1
child 83676 172f007cc17cf9ae1c2c27656e992b88dfdc4f1b
push id21784
push usermak77@bonardo.net
push dateWed, 04 Jan 2012 12:28:24 +0000
treeherdermozilla-central@0eec6ba6a87a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs714710
milestone12.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 714710 - LayerRenderer.checkFrameRateMonitorEnabled should use start() instead of run() [r=dougt]
mobile/android/base/gfx/LayerRenderer.java
--- a/mobile/android/base/gfx/LayerRenderer.java
+++ b/mobile/android/base/gfx/LayerRenderer.java
@@ -320,17 +320,17 @@ public class LayerRenderer implements GL
         /* Do this I/O off the main thread to minimize its impact on startup time. */
         new Thread(new Runnable() {
             @Override
             public void run() {
                 Context context = mView.getContext();
                 SharedPreferences preferences = context.getSharedPreferences("GeckoApp", 0);
                 mShowFrameRate = preferences.getBoolean("showFrameRate", false);
             }
-        }).run();
+        }).start();
     }
 
     class FadeRunnable implements Runnable {
         private boolean mStarted;
         private long mRunAt;
 
         void scheduleStartFade(long delay) {
             mRunAt = SystemClock.elapsedRealtime() + delay;