)]}'
{
  "commit": "7eb6ce0d9041d142f48bd64a52f536a9d6522764",
  "tree": "c1216bc74c49550e842ed227047dcf1de6d07dbd",
  "parents": [
    "84f4318ae74235f9b46c12991ab54d8d1e3eec5b"
  ],
  "author": {
    "name": "Fredrik Solenberg",
    "email": "solenberg@google.com",
    "time": "Tue Oct 06 08:21:39 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Oct 06 12:43:53 2026"
  },
  "message": "Avoid needless container and scoped_refptr copies\n\nSeveral call sites deep-copy Codec, Candidate and logged RTP stream\nobjects, or whole vectors of them, that they only read. A few\nconstructors also copy by-value scoped_refptr parameters instead of\nmoving them.\n\n- Bind getter results and loop elements by const reference: the codec\n  lists in the SDP munging detector and in CodecList\u0027s AbslStringify,\n  the port candidates in GetCandidateStatsFromReadyPorts, and the logged\n  RTP streams in the NetEq event log input.\n- Move by-value scoped_refptr parameters into their members in the\n  PeerConnection, BroadcastResourceListener and\n  ResourceVideoSendStreamForwarder constructors.\n\nBug: webrtc:374845009\nChange-Id: I7f213313c894252896ccd3f39c03f455d5e84566\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/498621\nReviewed-by: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nCommit-Queue: Fredrik Solenberg \u003csolenberg@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#48805}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5305964225a5defa8900bd68a33dc17ef7686a43",
      "old_mode": 33188,
      "old_path": "call/adaptation/broadcast_resource_listener.cc",
      "new_id": "2a9c447a119389011d1040728b312594bed290f0",
      "new_mode": 33188,
      "new_path": "call/adaptation/broadcast_resource_listener.cc"
    },
    {
      "type": "modify",
      "old_id": "6ce9c7f1e34d49dbfde5df9be648eb1a48d59c37",
      "old_mode": 33188,
      "old_path": "call/call.cc",
      "new_id": "a848c643f8a6d5cdec485d1b18c6c15b3449e52a",
      "new_mode": 33188,
      "new_path": "call/call.cc"
    },
    {
      "type": "modify",
      "old_id": "6f87f906d4e1b73c91eb88d0d5018aaf12ca6f48",
      "old_mode": 33188,
      "old_path": "media/base/codec_list.h",
      "new_id": "021fde28f8550c7022619d2d073e7c27704d353d",
      "new_mode": 33188,
      "new_path": "media/base/codec_list.h"
    },
    {
      "type": "modify",
      "old_id": "f7834c6d67985c7965fe0a0e87fd2e7b410234c6",
      "old_mode": 33188,
      "old_path": "modules/audio_coding/neteq/tools/neteq_event_log_input.cc",
      "new_id": "27a617ae1998cc1d75436df4a7441ba6a86b0efa",
      "new_mode": 33188,
      "new_path": "modules/audio_coding/neteq/tools/neteq_event_log_input.cc"
    },
    {
      "type": "modify",
      "old_id": "1950d73af8631d8272740403beb816ada0f01f96",
      "old_mode": 33188,
      "old_path": "p2p/client/basic_port_allocator.cc",
      "new_id": "15cca3b050ffb3c951a8b0374a86efd5a53fd81c",
      "new_mode": 33188,
      "new_path": "p2p/client/basic_port_allocator.cc"
    },
    {
      "type": "modify",
      "old_id": "15a0e4e56367a7c17d978f028949ae1c4913e8e2",
      "old_mode": 33188,
      "old_path": "pc/peer_connection.cc",
      "new_id": "10e6ff9395cdad8cfe229a7cb53f1ddb5381d6dc",
      "new_mode": 33188,
      "new_path": "pc/peer_connection.cc"
    },
    {
      "type": "modify",
      "old_id": "bed58edb35b59bf51cda73aa8ad90101e295b14b",
      "old_mode": 33188,
      "old_path": "pc/sdp_munging_detector.cc",
      "new_id": "31129d28100c46a54186ef09e93d7a5270d0b892",
      "new_mode": 33188,
      "new_path": "pc/sdp_munging_detector.cc"
    }
  ]
}
