The time to negotiate your salary is during the hiring process. Employees are not owed anything above the agreed upon amount, no matter how successful the company is.
Turning it around - would you also take a paycut, or even clawing back bonuses or past income if the company starts losing money?