)]}'
{
  "commit": "63aa98c481c69801aee3d5cbdcc339b6fc1fb9b9",
  "tree": "d006d1a27ba12c154d1b3812363b66db6f9018d6",
  "parents": [
    "e9e7adc7bba33cfdd7853e07bf2614ed8abeaeb0"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Thu Aug 08 17:13:27 2024 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Aug 08 17:13:27 2024 +0000"
  },
  "message": "Make CFX_DIBitmap::GetScanlineAs() work correctly for 24-bpp bitmaps\n\nAdd a test case that demonstrates CFX_DIBitmap allocates memory with a\nstride of 12 when the bitmap width is 3 and the format is 24-bpp. The\ntest case then shows the 12 bytes gets reinterpreted as 4 pixels of 3\nbytes each by GetScanlineAs(). Fix GetScanlineAs() to only return the\nactual pixels and not the unused space.\n\nDo the same for GetWritableScanlineAs().\n\nChange-Id: I3181bc5dbb5175b91671a995168ff3be21615389\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/123210\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "905d28394981826e20a6f20dbb7d372c879e0475",
      "old_mode": 33188,
      "old_path": "core/fxge/dib/cfx_dibbase.h",
      "new_id": "66fd6a84a66a2a687ca7bc56436ad2182bdc1d94",
      "new_mode": 33188,
      "new_path": "core/fxge/dib/cfx_dibbase.h"
    },
    {
      "type": "modify",
      "old_id": "53e646faa99d7a398b8cdf7db304933f2c9acad4",
      "old_mode": 33188,
      "old_path": "core/fxge/dib/cfx_dibitmap.h",
      "new_id": "b98ae8fa86c46c1d94b04ba13ff4743eb898fab1",
      "new_mode": 33188,
      "new_path": "core/fxge/dib/cfx_dibitmap.h"
    },
    {
      "type": "modify",
      "old_id": "c46110f5946e7a575c617232d3c71f7147765fa3",
      "old_mode": 33188,
      "old_path": "core/fxge/dib/cfx_dibitmap_unittest.cpp",
      "new_id": "e728060a82e637a75494d4c3b808dc5e5cf147b8",
      "new_mode": 33188,
      "new_path": "core/fxge/dib/cfx_dibitmap_unittest.cpp"
    }
  ]
}
