DRY out srcset related deviceScaleFactor calculations
Created attachment 210656 [details] Patch
Identical deviceScaleFactor calculations were performed in 3 different locations. I've added that calculation as a method of Document and replaced previous calculations by calls to this method.
Comment on attachment 210656 [details] Patch r=me
Comment on attachment 210656 [details] Patch Clearing flags on attachment: 210656 Committed r155176: <http://trac.webkit.org/changeset/155176>
All reviewed patches have been landed. Closing bug.