Bug 861636. Add some null checking to the ensure texture path and make EnsureTextureHost return void. r=nical