Bug 844275 - Drive the layer manager creation from the GLController rather than GetLayerManager. r=Cwiiis

This commit is contained in:
Kartikaya Gupta
2013-02-28 13:28:23 -05:00
parent dc5153f1d7
commit ef9f26fb84
9 changed files with 121 additions and 74 deletions

View File

@@ -1142,11 +1142,8 @@ AndroidBridge::RegisterCompositor(JNIEnv *env)
}
EGLSurface
AndroidBridge::ProvideEGLSurface(bool waitUntilValid)
AndroidBridge::ProvideEGLSurface()
{
if (waitUntilValid) {
sController.WaitForValidSurface();
}
return sController.ProvideEGLSurface();
}