Closed
Bug 1472601
Opened 7 years ago
Closed 7 years ago
Use EnsureInserted instead of Contains && PutEntry in EffectSet.cpp
Categories
(Core :: DOM: Animation, enhancement, P5)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → hikezoe
Status: NEW → ASSIGNED
Priority: -- → P5
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
Comment on attachment 8989107 [details]
Bug 1472601 - Use EnsureInserted to check a key in a hashtable and insert the key into the hashtable.
I think Boris has empty request queue for now. :)
Attachment #8989107 -
Flags: review?(bbirtles) → review?(boris.chiou)
Comment 3•7 years ago
|
||
Haha, I will review this soon. Cool, today is my onboard day in Portland. :)
Comment 4•7 years ago
|
||
Oh, wait, the reviewer in mozreview is Brian, so should I review this patch?
Assignee | ||
Comment 5•7 years ago
|
||
yes please do!
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8989107 [details]
Bug 1472601 - Use EnsureInserted to check a key in a hashtable and insert the key into the hashtable.
https://reviewboard.mozilla.org/r/254174/#review261176
EnsureRemoved() is the combined of GetEntry() and RemoveEntry(), so this update looks good to me.
EnsureInserted() calls PutEntry() which "gets the entry associated with a key, or create a new entry", so if the entry exists, we just return the associated entry. If not, we create a new one. It looks like what we want in AddEffect().
Attachment #8989107 -
Flags: review?(boris.chiou) → review+
Assignee | ||
Comment 7•7 years ago
|
||
Thanks!
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc9d3fbb1922
Use EnsureInserted to check a key in a hashtable and insert the key into the hashtable. r=boris
Comment 9•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•