Backed out changeset 41f37e48b6e7 (bug 916264) for landing with the wrong bug # in the commit message.

Landed as bug 909746.
Bug 916264 - Delete texture to unbound from texture. r=nical
Bug 917331 - Fix exception on b2g desktop about undefined AdbController object. r=fabrice