CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement() currently does a lot of if checks, even though some of them are mutually exclusive. We can reduce the amount of checks by using "else ifs" instead of ifs where appropriate.
Created attachment 240699 [details]
Created attachment 240703 [details]
Comment on attachment 240703 [details]
Clearing flags on attachment: 240703
Committed r175427: <http://trac.webkit.org/changeset/175427>
All reviewed patches have been landed. Closing bug.