diff --git a/engine/src/flutter/ci/licenses_golden/licenses_flutter b/engine/src/flutter/ci/licenses_golden/licenses_flutter index f16aa21a78..d6da05fa2d 100644 --- a/engine/src/flutter/ci/licenses_golden/licenses_flutter +++ b/engine/src/flutter/ci/licenses_golden/licenses_flutter @@ -42731,7 +42731,6 @@ ORIGIN: ../../../flutter/fml/platform/darwin/platform_version.h + ../../../flutt ORIGIN: ../../../flutter/fml/platform/darwin/platform_version.mm + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.cc + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.h + ../../../flutter/LICENSE -ORIGIN: ../../../flutter/fml/platform/darwin/scoped_policy.h + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/string_range_sanitization.h + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/darwin/string_range_sanitization.mm + ../../../flutter/LICENSE ORIGIN: ../../../flutter/fml/platform/fuchsia/log_interest_listener.cc + ../../../flutter/LICENSE @@ -45597,7 +45596,6 @@ FILE: ../../../flutter/fml/platform/darwin/platform_version.h FILE: ../../../flutter/fml/platform/darwin/platform_version.mm FILE: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.cc FILE: ../../../flutter/fml/platform/darwin/scoped_nsautorelease_pool.h -FILE: ../../../flutter/fml/platform/darwin/scoped_policy.h FILE: ../../../flutter/fml/platform/darwin/string_range_sanitization.h FILE: ../../../flutter/fml/platform/darwin/string_range_sanitization.mm FILE: ../../../flutter/fml/platform/fuchsia/log_interest_listener.cc diff --git a/engine/src/flutter/fml/BUILD.gn b/engine/src/flutter/fml/BUILD.gn index 1c6aedf3ee..3cd4d7a6ab 100644 --- a/engine/src/flutter/fml/BUILD.gn +++ b/engine/src/flutter/fml/BUILD.gn @@ -149,7 +149,6 @@ source_set("fml") { "platform/darwin/platform_version.mm", "platform/darwin/scoped_nsautorelease_pool.cc", "platform/darwin/scoped_nsautorelease_pool.h", - "platform/darwin/scoped_policy.h", "platform/darwin/string_range_sanitization.h", "platform/darwin/string_range_sanitization.mm", ] diff --git a/engine/src/flutter/fml/platform/darwin/scoped_policy.h b/engine/src/flutter/fml/platform/darwin/scoped_policy.h deleted file mode 100644 index fb4985871a..0000000000 --- a/engine/src/flutter/fml/platform/darwin/scoped_policy.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2013 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. - -#ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_ -#define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_ - -namespace fml { -namespace scoped_policy { - -// Defines the ownership policy for a scoped object. -enum OwnershipPolicy { - // The scoped object takes ownership of an object by taking over an existing - // ownership claim. - kAssume, - - // The scoped object will retain the the object and any initial ownership is - // not changed. - kRetain -}; - -} // namespace scoped_policy -} // namespace fml - -#endif // FLUTTER_FML_PLATFORM_DARWIN_SCOPED_POLICY_H_