Section 1. Be it enacted, &c., That, from and after the first day of January, Anno Domini one thousand nine hundred and twelve, the salary or compensation of the coroner of any county of this Commonwealth, having a population of one million or over, shall be at the rate of eight thousand dollars ($8,000.00) per annum. Such salary or compensation to be paid monthly by the treasurer of such county, according to existing laws.