Where the death of a person is caused by a dog wounding or attacking the person and the person would (had death not ensued) have been entitled under section 25 to recover damages from the owner of the dog in respect of bodily injury caused by the wounding or attack, the wounding or attack is, for the purposes of the Compensation to Relatives Act 1897 , taken to be a wrongful act such as would (had death not ensued) have entitled the injured person to maintain an action against, and recover damages from, the owner of the dog in respect of that act.