Backout f26e4c26ce4a (bug 881018) to land a different patch
Bug 881018 - Crash when TiledLayerBuffer::GetScaledTileLength returns 0; r=cwiiis