[BGPT] move composited element check down.
Move the composited element check from CanStartAnimationOnCompositor to CheckCanStartEffectOnCompositor because the effect has sufficient context to use the correct namespace to map the object ID to the compositor element ID, whereas the animation does not. Bug: 855702 Cq-Include-Trybots: luci.chromium.try:linux-blink-gen-property-trees;luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ia490fb07780586ddd5b5059671c3611139a25ce8 Reviewed-on: https://chromium-review.googlesource.com/1170238 Commit-Queue: Peter Mayo <petermayo@chromium.org> Reviewed-by:Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#587124}
Showing
This diff is collapsed.
Please register or sign in to comment