Reland: "Update outdated runners in the benchmarks folder (#91126)" (#92535)

This commit is contained in:
Greg Spencer
2021-11-08 21:28:02 -08:00
committed by GitHub
parent 5ce05e6ec5
commit bfe9c59831
534 changed files with 17419 additions and 1465 deletions

View File

@@ -0,0 +1,19 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController.init()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)
RegisterGeneratedPlugins(registry: flutterViewController)
super.awakeFromNib()
}
}