Fix busted build.

This commit is contained in:
Ali Juma 2012-02-10 10:40:57 -05:00
parent 96f267b56a
commit 7c7e41202d
2 changed files with 6 additions and 0 deletions

View File

@ -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();

View File

@ -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