Halle Berry told a California committee that a proposed bill criminalising photographing children without parental permission would help her daughter.