зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 52573727971b (bug 1449567) for braking android build bustages on a CLOSED TREE
This commit is contained in:
Родитель
5055667930
Коммит
737bd284b4
|
@ -76,7 +76,7 @@ public class LayerSession {
|
|||
@WrapForJNI(calledFrom = "ui", dispatchTo = "gecko")
|
||||
@Override protected native void disposeNative();
|
||||
|
||||
@WrapForJNI(calledFrom = "ui", dispatchTo = "gecko")
|
||||
@WrapForJNI(calledFrom = "any", dispatchTo = "gecko")
|
||||
public native void attachNPZC(PanZoomController npzc);
|
||||
|
||||
@WrapForJNI(calledFrom = "ui", dispatchTo = "gecko")
|
||||
|
|
|
@ -1239,16 +1239,13 @@ nsWindow::GeckoViewSupport::Transfer(const GeckoSession::Window::LocalRef& inst,
|
|||
window.mNPZCSupport.Detach();
|
||||
}
|
||||
|
||||
if (window.mLayerViewSupport &&
|
||||
window.mLayerViewSupport->GetJavaCompositor() != aCompositor) {
|
||||
if (window.mLayerViewSupport) {
|
||||
window.mLayerViewSupport.Detach();
|
||||
}
|
||||
|
||||
auto compositor = LayerSession::Compositor::LocalRef(
|
||||
inst.Env(), LayerSession::Compositor::Ref::From(aCompositor));
|
||||
if (!window.mLayerViewSupport) {
|
||||
window.mLayerViewSupport.Attach(compositor, &window, compositor);
|
||||
}
|
||||
window.mLayerViewSupport.Attach(compositor, &window, compositor);
|
||||
|
||||
MOZ_ASSERT(window.mAndroidView);
|
||||
window.mAndroidView->mEventDispatcher->Attach(
|
||||
|
|
Загрузка…
Ссылка в новой задаче