diff --git a/engine/src/flutter/display_list/dl_storage.h b/engine/src/flutter/display_list/dl_storage.h index 879fae42340..acfa2de7754 100644 --- a/engine/src/flutter/display_list/dl_storage.h +++ b/engine/src/flutter/display_list/dl_storage.h @@ -5,6 +5,7 @@ #ifndef FLUTTER_DISPLAY_LIST_DL_STORAGE_H_ #define FLUTTER_DISPLAY_LIST_DL_STORAGE_H_ +#include #include #include "flutter/fml/logging.h" diff --git a/engine/src/flutter/display_list/dl_text.h b/engine/src/flutter/display_list/dl_text.h index ae1dbabdd5e..ea9337ddd53 100644 --- a/engine/src/flutter/display_list/dl_text.h +++ b/engine/src/flutter/display_list/dl_text.h @@ -5,6 +5,8 @@ #ifndef FLUTTER_DISPLAY_LIST_DL_TEXT_H_ #define FLUTTER_DISPLAY_LIST_DL_TEXT_H_ +#include + #include "flutter/display_list/geometry/dl_geometry_types.h" namespace impeller { diff --git a/engine/src/flutter/fml/synchronization/semaphore.h b/engine/src/flutter/fml/synchronization/semaphore.h index 0bb17602867..6e33cbd28c0 100644 --- a/engine/src/flutter/fml/synchronization/semaphore.h +++ b/engine/src/flutter/fml/synchronization/semaphore.h @@ -5,6 +5,7 @@ #ifndef FLUTTER_FML_SYNCHRONIZATION_SEMAPHORE_H_ #define FLUTTER_FML_SYNCHRONIZATION_SEMAPHORE_H_ +#include #include #include "flutter/fml/macros.h" diff --git a/engine/src/flutter/impeller/renderer/backend/gles/handle_gles.h b/engine/src/flutter/impeller/renderer/backend/gles/handle_gles.h index e6f51d2caae..a6234ebc147 100644 --- a/engine/src/flutter/impeller/renderer/backend/gles/handle_gles.h +++ b/engine/src/flutter/impeller/renderer/backend/gles/handle_gles.h @@ -5,6 +5,7 @@ #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_HANDLE_GLES_H_ #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_HANDLE_GLES_H_ +#include #include #include #include diff --git a/engine/src/flutter/impeller/typographer/font.h b/engine/src/flutter/impeller/typographer/font.h index a48f8822dc2..b671a3bb269 100644 --- a/engine/src/flutter/impeller/typographer/font.h +++ b/engine/src/flutter/impeller/typographer/font.h @@ -5,6 +5,7 @@ #ifndef FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_ #define FLUTTER_IMPELLER_TYPOGRAPHER_FONT_H_ +#include #include #include "fml/hash_combine.h" diff --git a/engine/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h b/engine/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h index d552b499ee2..553ba0bba49 100644 --- a/engine/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h +++ b/engine/src/flutter/shell/platform/common/client_wrapper/include/flutter/binary_messenger.h @@ -5,6 +5,7 @@ #ifndef FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_BINARY_MESSENGER_H_ #define FLUTTER_SHELL_PLATFORM_COMMON_CLIENT_WRAPPER_INCLUDE_FLUTTER_BINARY_MESSENGER_H_ +#include #include #include diff --git a/engine/src/flutter/tools/licenses_cpp/src/filter.cc b/engine/src/flutter/tools/licenses_cpp/src/filter.cc index b4626f0ed1e..b81999fd089 100644 --- a/engine/src/flutter/tools/licenses_cpp/src/filter.cc +++ b/engine/src/flutter/tools/licenses_cpp/src/filter.cc @@ -6,7 +6,7 @@ #include #include "third_party/abseil-cpp/absl/strings/str_cat.h" -absl::StatusOr Filter::Open(std::string_view path) { +absl::StatusOr Filter::Open(const std::string& path) { std::ifstream input; input.open(path); absl::StatusOr result = Open(input); diff --git a/engine/src/flutter/tools/licenses_cpp/src/filter.h b/engine/src/flutter/tools/licenses_cpp/src/filter.h index a213b258612..4e35169f780 100644 --- a/engine/src/flutter/tools/licenses_cpp/src/filter.h +++ b/engine/src/flutter/tools/licenses_cpp/src/filter.h @@ -16,7 +16,7 @@ /// This is used for things like the include.txt and exclude.txt. class Filter { public: - static absl::StatusOr Open(std::string_view path); + static absl::StatusOr Open(const std::string& path); static absl::StatusOr Open(std::istream& input);