зеркало из https://github.com/mozilla/gecko-dev.git
Remove deadcode
This commit is contained in:
Родитель
08a46d3640
Коммит
196b19d9ea
|
@ -180,34 +180,6 @@ public class FlexibleGLSurfaceView extends SurfaceView implements SurfaceHolder.
|
|||
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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче