Remove deadcode
authorBenoit Girard <b56girard@gmail.com>
Fri, 03 Feb 2012 10:26:54 -0500
changeset 90878 d47c32d6795d85dcfa04bd74eea8b4017f94bb22
parent 90877 ba16d096e3d87b774c0834914c003eaa4cbfd261
child 90879 f042470aaafc1677161d98d19a94dc72b41849db
push idunknown
push userunknown
push dateunknown
milestone12.0a1
Remove deadcode
mobile/android/base/gfx/FlexibleGLSurfaceView.java
--- a/mobile/android/base/gfx/FlexibleGLSurfaceView.java
+++ b/mobile/android/base/gfx/FlexibleGLSurfaceView.java
@@ -175,44 +175,16 @@ public class FlexibleGLSurfaceView exten
                 flexView.destroyGLThread().join();
             } catch (InterruptedException e) {}
             Log.e(LOGTAG, "### registerCxxCompositor point D: " + flexView.getGLController());
             return flexView.getGLController();
         } catch (Exception e) {
             Log.e(LOGTAG, "### Exception! " + e);
             return null;
         }
-/*
-        synchronized (FlexibleGLSurfaceView.class) {
-            // Wait for the layer controller if by some miracle
-            // gecko beats the java thread here.
-            while (mLayerController == null) {
-                try {
-                    OGLSurfaceView.class.wait();
-                } catch (InterruptedException e) {}
-            }
-            final LayerController controller = mLayerController;
-
-            GeckoApp.mAppContext.runOnUiThread(new Runnable() {
-                public void run() {
-                    synchronized (OGLSurfaceView.class) {
-                        OGLSurfaceView surfaceView =
-                            new OGLSurfaceView(controller.getContext(), controller);
-                        OGLSurfaceView.class.notifyAll();
-                    }
-                }
-            });
-
-            // Wait for the compositor to be setup on the
-            // Java UI thread.
-            try {
-                OGLSurfaceView.class.wait();
-            } catch (InterruptedException e) {}
-        }
-*/
     }
 
     public static class FlexibleGLSurfaceViewException extends RuntimeException {
         public static final long serialVersionUID = 1L;
 
         FlexibleGLSurfaceViewException(String e) {
             super(e);
         }