more reinforcement that images never have zero width or height

BUG=skia:

Review URL: https://codereview.chromium.org/869743002
2 files changed