Bug 998130 - Add null checks in CairoImage::GetTextureClient. r=bjacob