DescriptionWeakNodeMap should have an ASSERT for node in WeakNodeMap::put()
WeakNodeMap holds trace Ids to corresponding node pointers. Having a null value for the node would be logically incorrect and the ASSERT(!m_nodeToValue.contains(node)); would trigger for the subsequent calls if we allow the NULL values. The callsite should ensure that the values for node pointers are indeed non-NULL.
BUG=390510
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177370
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|