{"push_id":589312701,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"661e334fdde68b9a9e9c4d199a11613154b76cd9","before":"a7740c5873f4348090782d66fdf3dbf272316f7a","commits":[{"sha":"661e334fdde68b9a9e9c4d199a11613154b76cd9","author":{"email":"56bf68553a6eeecbbaf7c80da87195a59c9681bb@chromium.org","name":"wangxianzhu@chromium.org"},"message":"Test more AddResult of HashMap::add() behavior\n\nWas wondering if I can use AddResult.storedValue to modify the\nexisting value when HashMap::add() is called with existing key\nso that I can simply use:\n  vectorMap.add(key, XVector()).storedValue->value.append(x)\ninstead of much longer form:\n  VectorMap::iterator it = vectorMap.find(key);\n  if (it == vectorMap.end()) {\n    XVector v;\n    v.append(x);\n    vectorMap.add(key, v);\n  } else {\n    it->value.append(x);\n  }\n\nThe new test verifies that we can use the simple form.\n\nReview URL: https://codereview.chromium.org/959323002\n\ngit-svn-id: svn://svn.chromium.org/blink/trunk@191125 bbb929c8-8fbe-4397-9dbb-9b2b20218538","distinct":true,"url":"https://api.github.com/repos/dstockwell/blink/commits/661e334fdde68b9a9e9c4d199a11613154b76cd9"}]}