diff --git a/gfx/layers/ipc/CompositorParent.cpp b/gfx/layers/ipc/CompositorParent.cpp index 24710d7b6dc..bd0ffd707d0 100644 --- a/gfx/layers/ipc/CompositorParent.cpp +++ b/gfx/layers/ipc/CompositorParent.cpp @@ -182,12 +182,14 @@ CompositorParent::Composite() #endif layer->AsShadowLayer()->SetShadowTransform(worldTransform); +#if 0 #ifdef MOZ_WIDGET_ANDROID // Hang the transform of the root layer off the layer manager. gfx3DMatrix transform = layer->GetTransform(); transform *= worldTransform; TransformLayerUserData* transformUserData = new TransformLayerUserData(transform); mLayerManager->SetUserData(nsGkAtoms::transform, transformUserData); +#endif #endif mLayerManager->EndEmptyTransaction(); diff --git a/widget/android/AndroidJavaWrappers.cpp b/widget/android/AndroidJavaWrappers.cpp index 9504bcbb5a5..2253d5a8cec 100644 --- a/widget/android/AndroidJavaWrappers.cpp +++ b/widget/android/AndroidJavaWrappers.cpp @@ -694,11 +694,15 @@ AndroidGeckoGLLayerClient::Init(jobject jobj) void AndroidLayerRendererFrame::Init(jobject jobj) { +#if 0 if (!isNull()) { Dispose(); } wrapped_obj = GetJNIForThread()->NewGlobalRef(jobj); +#else + wrapped_obj = jobj; +#endif } void