Bug 158283

Summary: Use HashMap::ensure() in DocumentOrderedMap::add()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, esprehn+autocc, kangil.han, rniwa, sam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2016-06-01 16:43:08 PDT
Use HashMap::ensure() in DocumentOrderedMap::add() to avoid constructing a MapEntry if the key is already present in the HashMap.
Attachments
Patch (1.55 KB, patch)
2016-06-01 16:44 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-06-01 16:44:42 PDT
WebKit Commit Bot
Comment 2 2016-06-01 17:22:40 PDT
Comment on attachment 280278 [details] Patch Clearing flags on attachment: 280278 Committed r201579: <http://trac.webkit.org/changeset/201579>
WebKit Commit Bot
Comment 3 2016-06-01 17:22:44 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.