)]}'
{
  "commit": "3ec4d6508e42a727430426d921cf21cf8aa99bcf",
  "tree": "b1e8e01de83cdd97c8e8a99ffe8dd9bccf8bb7c9",
  "parents": [
    "0c2edd77909a148ba032e00fa224ae9340a70000"
  ],
  "author": {
    "name": "Hui Yingst",
    "email": "nigi@chromium.org",
    "time": "Sat Feb 18 00:23:24 2023 +0000"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Sat Feb 18 00:23:24 2023 +0000"
  },
  "message": "Update the CFX_FillRenderOptions used for flushing paths\n\nCurrently, CFX_SkiaDeviceDriver::PaintStroke() sets SkPaint based on\nthe most up-to-date CFX_FillRenderOptions `m_FillOptions`. But this\nCFX_FillRenderOptions is not the same as the cached fill options\n`m_fillOptions` in SkiaState when multiple paths with different\nCFX_FillRenderOptions need drawing.\n\nWhen CFX_SkiaDeviceDriver::PaintStroke() is called by\nSkiaState::FlushPath(), it should set the SkPaint based on\n`m_fillOptions` in the cached SkiaState, since FlushPath() is trying\nto draw the already cached commands.\n\nThis CL makes the following improvements:\n- Check if fill options have changed when determine when to flush\n  cached paths.\n- Make CFX_SkiaDeviceDriver::PaintStroke() take an\n  CFX_FillRenderOptions as the input, so that the correct fill options\n  can be used depending on the call site.\n\nChange-Id: I120071431969d494afee7a0237d0b90273541527\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/103872\nCommit-Queue: Nigi \u003cnigi@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "72aaf883495a7f75607011ce5ccdeeaa4bb9cc8e",
      "old_mode": 33188,
      "old_path": "core/fxge/cfx_fillrenderoptions.h",
      "new_id": "d123f724dc0228269867a6171d4658ab292309bf",
      "new_mode": 33188,
      "new_path": "core/fxge/cfx_fillrenderoptions.h"
    },
    {
      "type": "modify",
      "old_id": "c2da0aab0b9c712e0e7ed37e8671e5fa4f838df6",
      "old_mode": 33188,
      "old_path": "core/fxge/skia/fx_skia_device.cpp",
      "new_id": "ea67f43ae76dfbd01d17272c0272e75a866fd6c2",
      "new_mode": 33188,
      "new_path": "core/fxge/skia/fx_skia_device.cpp"
    },
    {
      "type": "modify",
      "old_id": "71109a724a451e56c7679674cccb4e024ea20f61",
      "old_mode": 33188,
      "old_path": "core/fxge/skia/fx_skia_device.h",
      "new_id": "8c99963a308651a6dbb57071db1d992b030c416b",
      "new_mode": 33188,
      "new_path": "core/fxge/skia/fx_skia_device.h"
    }
  ]
}
