)]}'
{
  "commit": "cf433ae5520d061db56391155b59b34e67484f39",
  "tree": "4f1145bf9de71eec5b414808f4a3f7f8dd8e3e1b",
  "parents": [
    "92725d5c9e7bb8ae9a8059b06bd0baf1b7bb937e"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Wed May 21 14:39:33 2025 -0700"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed May 21 14:39:33 2025 -0700"
  },
  "message": "Avoid a case of float-int-float conversion in CPDF_Page\n\nCurrently, 2 CPDF_Page::GetDisplayMatrixForRect() callers do the\nfollowing:\n\n1) Gets the page size as floats.\n2) Constructs an int rectangle and passes that to\n   GetDisplayMatrixForRect().\n3) GetDisplayMatrixForRect() converts the int values back to float.\n\nAdd a GetDisplayMatrixForRect() variant that takes a float rectangle to\navoid the int conversion. For now, keep the new method private, and only\nexpose a GetDisplayMatrix() method, which is what those 2 callers\nreally want.\n\nBug: 413582795\nChange-Id: Ifb616092bd4f498969388892102d1236019fe8c3\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/132213\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f62cd4ffb66347c3f08826d1e2fd95621a079b4a",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/page/cpdf_page.cpp",
      "new_id": "0d56bfcb9e0845b5bc4a1cdfe59f7e7f2fe054a1",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/page/cpdf_page.cpp"
    },
    {
      "type": "modify",
      "old_id": "8b87b849eeefba4de55f6b5474708d644dd11fe7",
      "old_mode": 33188,
      "old_path": "core/fpdfapi/page/cpdf_page.h",
      "new_id": "3421ad90e381d4faa7a28d9f55eafad59854d6f0",
      "new_mode": 33188,
      "new_path": "core/fpdfapi/page/cpdf_page.h"
    },
    {
      "type": "modify",
      "old_id": "c1fde9dfd8f45f3ba776cf05f6c2160419415cee",
      "old_mode": 33188,
      "old_path": "core/fpdftext/cpdf_textpage.cpp",
      "new_id": "9fb7d249b2d64d0a559e2f9f464677e50180b856",
      "new_mode": 33188,
      "new_path": "core/fpdftext/cpdf_textpage.cpp"
    },
    {
      "type": "modify",
      "old_id": "34abfaefc0c400ba823cdf825e7b88f13633829b",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_view.cpp",
      "new_id": "efd9467227f2f3fad74929034a73d7070aed3ca4",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_view.cpp"
    }
  ]
}
