layertree/layertree.go
func (p *CompositingReasonsParams) Do(ctx context.Context) (compositingReasons []string, err error) {
	// execute
	var res CompositingReasonsReturns
	err = cdp.Execute(ctx, CommandCompositingReasons, p, &res)
	if err != nil {
		return nil, err
	}

	return res.CompositingReasons, nil
}
func (p *CompositingReasonsParams) Do(ctx context.Context) (compositingReasons []string, err error) {
	// execute
	var res CompositingReasonsReturns
	err = cdp.Execute(ctx, CommandCompositingReasons, p, &res)
	if err != nil {
		return nil, err
	}

	return res.CompositingReasons, nil
}
// Do executes LayerTree.compositingReasons against the provided context.
//
// returns:
//   compositingReasons - A list of strings specifying reasons for the given layer to become composited.