PUT THE CAN DOWN, AND SLOWLY BACK AWAY!
Never use WD-40 to 'clean' a firearm. The residue becomes gummy and attracts every bit of crud in 4 counties. It does not become a protective film. 40 and 50 year old guns with a brown patina, have more often than not, been 'cleaned' with WD-40. It can almost be as bad as cosmoline when it comes to getting all the nasty gunk out.
Use Ballistol, Hoppe's, or even soap and water with a good coat of light machine oil afterwards.