Bug 1481655. Don't add recordings of the hit test info to blob images. r=mstange

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jeff Muizelaar 2018-08-08 18:15:00 +00:00
parent de4435eec5
commit da9d4bb3c0

View File

@ -748,7 +748,9 @@ struct DIGroup
GP("doing children in EndGroup\n");
aGrouper->PaintContainerItem(this, item, bounds, children, aContext, aRecorder);
} else {
if (dirty) {
// Hit test items don't have anything to paint so skip them. Ideally we
// would drop these items earlier...
if (dirty && item->GetType() != DisplayItemType::TYPE_COMPOSITOR_HITTEST_INFO) {
// What should the clip settting strategy be? We can set the full clip everytime.
// this is probably easiest for now. An alternative would be to put the push and the pop
// into separate items and let invalidation handle it that way.