[BlinkGenPropertyTrees] Create effect and filter nodes if transform node needs compositing

Because of crbug.com/900241, we force effect and filter nodes when we
are animating transform. If the effect and filter nodes didn't exist
before the animation, the newly created effect and filter nodes will
cause raster invalidation because of paint property change on the start
of the animation.

Now always create effect and filter nodes if the transform node is
created for will-change hint to avoid the raster invalidation on
start/end of transform/opacity animation.

Bug: 942681
Change-Id: I9b045d124b9c98fa79e721ec66257c1d17f9f861
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1531301
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#642759}
23 files changed