Bug 1695507 - Fix build failure in example compositor, r=gw
Bug 1695507 - Fix build failure in example compositor, r=gw

We're only missing `redraw_on_invalidation` but lets make it more robust
for future additions.

Differential Revision: https://phabricator.services.mozilla.com/D106732

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/38eaa3fad530dde7030a86d999986f6bd88a65f9

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender