)]}'
{
  "commit": "ed4e13cefb45d95404b148afd3e39ec678160357",
  "tree": "f4b0ca02306e0772da19094002325d7a41c7c12b",
  "parents": [
    "4121287c360a096d2ba3161be66021bfe0c4f8b6"
  ],
  "author": {
    "name": "Chris Bracken",
    "email": "chris@bracken.jp",
    "time": "Wed Nov 27 07:32:16 2024 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Nov 27 15:32:16 2024 +0000"
  },
  "message": "Reland: iOS: Eliminate global in platformviews controller (#56831)\n\nThis is a minor refactoring that moves a global bool to a boolean ivar in FlutterPlatformViewsController. The purpose of this variable is simply to avoid the overhead of trying to create backdrop filters if we\u0027ve ever failed to create one in the past.\r\n\r\nGiven that this class will only ever have the one instance created and held by per engine with the same duration, and that most apps only ever have one engine, the performance win will be identical for most apps. For the few add-to-app cases with multiple engines either at once or over the course of an app\u0027s lifetime, the costs associated with firing up an engine are already a far bigger hit than those being saved by this bool.\r\n\r\nAlso migrates from C++ style namespace { ... } to Obj-C style static functions. These are entirely equivalent as both restrict symbols to the current translation unit.\r\n\r\nThis is a reland of https://github.com/flutter/engine/pull/56805, which was reverted as part of https://github.com/flutter/engine/pull/56817.\r\n\r\n[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6c0448650bd205181f15941e283e312221c5a7cf",
      "old_mode": 33188,
      "old_path": "shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm",
      "new_id": "ba531cad834a65ef2752d319439ee0cf3834d4fe",
      "new_mode": 33188,
      "new_path": "shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm"
    }
  ]
}
