Bug 158092 - Use HashMap::add() instead of HashMap::set() in Node::ensureEventTargetData()
Summary: Use HashMap::add() instead of HashMap::set() in Node::ensureEventTargetData()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-25 14:37 PDT by Chris Dumez
Modified: 2016-05-25 16:33 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.43 KB, patch)
2016-05-25 14:38 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-05-25 14:37:37 PDT
Use HashMap::add() instead of HashMap::set() in Node::ensureEventTargetData() as we already checked that the key is not present in the HashMap.
Comment 1 Chris Dumez 2016-05-25 14:38:28 PDT
Created attachment 279817 [details]
Patch
Comment 2 WebKit Commit Bot 2016-05-25 16:33:51 PDT
Comment on attachment 279817 [details]
Patch

Clearing flags on attachment: 279817

Committed r201410: <http://trac.webkit.org/changeset/201410>
Comment 3 WebKit Commit Bot 2016-05-25 16:33:57 PDT
All reviewed patches have been landed.  Closing bug.