)]}'
{
  "commit": "287d53eaa4b362c24c2a49307ede0d930383aa67",
  "tree": "7c017e6c1de34c9ae54af462fc6e8c72a7ac0fc5",
  "parents": [
    "dc264b3b7e9af4130b42fea25d337609e42c7a61"
  ],
  "author": {
    "name": "Andy Phan",
    "email": "andyphan@chromium.org",
    "time": "Wed Dec 03 13:51:48 2025 -0800"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Dec 03 13:51:48 2025 -0800"
  },
  "message": "[Skia] Handle odd-sized dashed line arrays correctly\n\nAn odd-sized dashed line array should alternate on-offs after the first\npassthrough. For example, [2, 1, 3] with a phase of 0 should look like:\n2 on, 1 off, 3 on, 2 off, 1 on, 3 off, 2 on, etc.\n\nSkDashPathEffect only takes even-sized dash vectors. To work around\nthis, repeat the dashed line array in SetupStrokePaint(), which should\nhave the same effect as an odd-sized dashed line array. E.g. [2, 1, 3]\nbecomes [2, 1, 3, 2, 1, 3].\n\nSince on-offs alternate, update SetupStrokePaint() so that the same\ntransformation is applied to each value in the dash array, rather than\ntwo separate transformations for dashes and gaps.\n\nTest expectations updated at\nhttps://pdfium-review.googlesource.com/c/pdfium_tests/+/138890.\n\nBug: 370546365\nChange-Id: I2030bef3ae792375b89c312cc9b84502f2179558\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/138870\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nAuto-Submit: Andy Phan \u003candyphan@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bbc2d5e3f5c09687ec5862412c22ee1eb297b8fd",
      "old_mode": 33188,
      "old_path": "DEPS",
      "new_id": "887e2e8e52ccb6364cb2d459a18245eaabc1c2ed",
      "new_mode": 33188,
      "new_path": "DEPS"
    },
    {
      "type": "modify",
      "old_id": "652999703146b04abc74dc6dbc0a79cf880ffc8d",
      "old_mode": 33188,
      "old_path": "core/fxge/skia/fx_skia_device.cpp",
      "new_id": "fea8e3059b88e03632fcf1d483210d2e9b23720a",
      "new_mode": 33188,
      "new_path": "core/fxge/skia/fx_skia_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "1fc9c4d4798002a25fcb24aeb306cca75b483340",
      "old_mode": 33188,
      "old_path": "testing/resources/pixel/dashed_lines_expected_skia.pdf.0.png",
      "new_id": "e2a06578b853cd6d5a7be857a123b43b901a4532",
      "new_mode": 33188,
      "new_path": "testing/resources/pixel/dashed_lines_expected_skia.pdf.0.png"
    }
  ]
}
