commit | 9be6b70c70a7d14a0c720801f9aeb631a00bbc0e | [log] [tgz] |
---|---|---|
author | Russell Brenner <russellbrenner@google.com> | Tue Feb 01 10:33:07 2011 -0800 |
committer | Russell Brenner <russellbrenner@google.com> | Tue Feb 01 16:45:53 2011 -0800 |
tree | 6f41bfbcadeeedfb9aa86e4734c9a73a329d2ab5 | |
parent | c6280ca9a4e12f9847852c063d5048a3d3d29422 [diff] |
Fix 3366514 (again): browser emulator crash Added TilesManager::hardwareAccelerationEnabled() to check internal gInstance without the side-effect of creating it, if null. Used by BaseLayerAndroid to avoid creating an instance during a destructor. Emulator will have a null gInstance, so this provides a runtime solution that distinguishes the emulator from the device. Change-Id: I023849d0bb405deef588d7fc272f0e303577fddf