ParseBackgroundItem does several useless calls to FindIndexOfKeyword(eCSSKeyword_UNKNOWN)

NEW
Assigned to

Status

()

P5
minor
5 years ago
5 years ago

People

(Reporter: mats, Assigned: mats)

Tracking

({perf})

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

5 years ago
Followup from bug 914432 comment 4.

http://hg.mozilla.org/mozilla-central/annotate/680c89c76100/layout/style/nsCSSParser.cpp#l6936
(where we call FindKeyword four times with eCSSKeyword_UNKNOWN before
we end up in the else-part at the end)
You need to log in before you can comment on or make changes to this bug.