зеркало из https://github.com/mozilla/pjs.git
Fix busted build.
This commit is contained in:
Родитель
272bc00d1b
Коммит
91de8d2a92
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче