Make object-fit veto direct image compositing

This patch updates CompositedLayerMapping::isDirectlyCompositedImage to
veto images that have non-default object-fit values.

The image layer optimization (see: web_image_layer_impl.h) adds an
additional transform on top of PictureImageLayer but object-fit
requires an additional clip, offset, and size to support letterboxing
that doesn't start at the origin.

BUG=369020

Review URL: https://codereview.chromium.org/1385403004

Cr-Commit-Position: refs/heads/master@{#355137}
4 files changed