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

Description Chris Dumez 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.
Comment 1 Chris Dumez 2016-06-01 16:44:42 PDT
Created attachment 280278 [details]
Patch
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2016-06-01 17:22:44 PDT
All reviewed patches have been landed.  Closing bug.