Bug 844275 - Drive the layer manager creation from the GLController rather than GetLayerManager. r=Cwiiis
This commit is contained in:
@@ -1142,11 +1142,8 @@ AndroidBridge::RegisterCompositor(JNIEnv *env)
|
||||
}
|
||||
|
||||
EGLSurface
|
||||
AndroidBridge::ProvideEGLSurface(bool waitUntilValid)
|
||||
AndroidBridge::ProvideEGLSurface()
|
||||
{
|
||||
if (waitUntilValid) {
|
||||
sController.WaitForValidSurface();
|
||||
}
|
||||
return sController.ProvideEGLSurface();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user