remove OGLSurfaceView init, todo remove OGLSurfaceView.java
authorBenoit Girard <b56girard@gmail.com>
Thu, 02 Feb 2012 11:28:54 -0500
changeset 89057 2b39cf557ab439b5d5c33c3a729e652025497ae3
parent 89056 b495033168e2e12696cf9f321d8e17107303dd00
child 89058 c3ebf7525f9bf0b86c281c17e71a6670badcdb59
push id22242
push userkgupta@mozilla.com
push dateWed, 14 Mar 2012 15:19:09 +0000
treeherdermozilla-central@936ef50fa498 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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
remove OGLSurfaceView init, todo remove OGLSurfaceView.java
widget/android/AndroidJavaWrappers.cpp
--- a/widget/android/AndroidJavaWrappers.cpp
+++ b/widget/android/AndroidJavaWrappers.cpp
@@ -201,22 +201,16 @@ AndroidGeckoSurfaceView::InitGeckoSurfac
     jBeginDrawingMethod = getMethod("beginDrawing", "()I");
     jGetSoftwareDrawBitmapMethod = getMethod("getSoftwareDrawBitmap", "()Landroid/graphics/Bitmap;");
     jGetSoftwareDrawBufferMethod = getMethod("getSoftwareDrawBuffer", "()Ljava/nio/ByteBuffer;");
     jEndDrawingMethod = getMethod("endDrawing", "()V");
     jDraw2DBitmapMethod = getMethod("draw2D", "(Landroid/graphics/Bitmap;II)V");
     jDraw2DBufferMethod = getMethod("draw2D", "(Ljava/nio/ByteBuffer;I)V");
     jGetSurfaceMethod = getMethod("getSurface", "()Landroid/view/Surface;");
     jGetHolderMethod = getMethod("getHolder", "()Landroid/view/SurfaceHolder;");
-#else
-    initInit();
-
-    jGetHolderMethod = getMethod("getHolder", "()Landroid/view/SurfaceHolder;");
-
-
 #endif
 }
 
 void
 AndroidLocation::InitLocationClass(JNIEnv *jEnv)
 {
     initInit();