Well the chainring hit the helmet,so what would have happened if the helmet was not there ?
Who knows,but I still thank the much maligned plastic and polystyrene for being there..
I could believe that a chainring hitting the skull is an instance where a helmet might do some good. The relative velocity of head and bike is likely to be rather less than that of head and ground, and the kinetic energy to be dissipated even more so. The impact on the skull is likely to be more at a single point than the impact with the ground. The helmet could plausibly spread the impact over a larger area as well as absorb some of the energy.
Thing is, though, that particular impact strikes me as vanishingly rare. In thirty years of cycling, I've had perhaps twenty offs. Three of them left left scars,in one case caused by chainring on shin. One damaged the helmet I was wearing. One broke a bone. But never once have I come remotely close to getting a chain ring in the head. So, in the list of things to consider taking routine precautions against, that scenario is completely off the bottom. I have had more - tens, hundreds, probably - comparable impacts with tree branches while walking or gardening, or walking into open cupboard doors, so we come back to the same unanswered argument: why helmets for cycling not other riskier activities?