)]}'
{
  "commit": "90ef797418efc68bdd4299b3c9b090fe238dbb8f",
  "tree": "df7b5f64dadd3ad3677b4cf6c3e9af08ea30fe79",
  "parents": [
    "1ebeb0057eae9b998e04909afb1ec0825c2c8fd6"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Mon May 04 08:51:10 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon May 04 10:45:22 2026"
  },
  "message": "Support std::string_view in RTC_LOG macros\n\nUpdate the logging framework to handle std::string_view as a distinct\ntype to prevent memory safety issues.\n\nOn certain toolchains, such as the Android NDK, std::string_view and\nabsl::string_view are separate types. Relying on implicit conversions\nbetween them within logging macros can lead to the creation of temporary\nobjects. Capturing the address of these temporaries results in dangling\npointers, which causes undefined behavior or crashes during logging.\n\nThis change introduces a dedicated MakeVal overload for std::string_view\nand updates internal type traits to:\n* Explicitly support std::string_view when it differs from\n  absl::string_view.\n* Prevent std::string_view from matching generic stringify or class\n  templates that may handle it incorrectly.\n* Ensure stable references to string data across different platforms\n  and compiler configurations.\n\nPreviously, this was implicitly (and not explicitly intentionally) been\nhandled by the deprecated stringstream MakeVal implementation.\n\nBug: webrtc:42234461\nChange-Id: I1d4fd044837e8ac2b117a12e8da351ce5502953e\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/468860\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nReviewed-by: Danil Chapovalov \u003cdanilchap@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#47602}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d7521b307cb38cba9064a0e7c24a73b0d29719e5",
      "old_mode": 33188,
      "old_path": "rtc_base/logging.h",
      "new_id": "1efe37921795551526a6e9a2ebef4ea1f3fc3f6d",
      "new_mode": 33188,
      "new_path": "rtc_base/logging.h"
    },
    {
      "type": "modify",
      "old_id": "d31d9e57a9b88b50f35272b09b96645bbfbeda0e",
      "old_mode": 33188,
      "old_path": "rtc_base/logging_unittest.cc",
      "new_id": "780659c2fb98d3bcb899dbd105859e1f23723937",
      "new_mode": 33188,
      "new_path": "rtc_base/logging_unittest.cc"
    }
  ]
}
