[Webkit-unassigned] [Bug 138227] New: Make CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement() faster

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 30 13:37:36 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=138227

            Bug ID: 138227
           Summary: Make
                    CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElem
                    ent() faster
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cdumez at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141030/28eb08d2/attachment-0002.html>


More information about the webkit-unassigned mailing list