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] Patch
Created attachment 240703 [details] Patch
Comment on attachment 240703 [details] Patch Clearing flags on attachment: 240703 Committed r175427: <http://trac.webkit.org/changeset/175427>
All reviewed patches have been landed. Closing bug.