commit | 8552b6e6458a0103ff3743e50ab7d6d08df4c08b | [log] [tgz] |
---|---|---|
author | Matan Lurey <matanlurey@users.noreply.github.com> | Mon Nov 13 16:48:10 2023 -0800 |
committer | GitHub <noreply@github.com> | Tue Nov 14 00:48:10 2023 +0000 |
tree | 71cca27dd6fb9adb64954a8872aea8276bfb5cc1 | |
parent | 469bd8b75495461ba4e7e3329e44b839c6bc9636 [diff] |
Make `display_list/...` compatible with `.clang_tidy`. (#47993) Work towards https://github.com/flutter/flutter/issues/134969. All changes were made automatically (i.e. with `--fix`).
diff --git a/display_list/effects/dl_color_source.h b/display_list/effects/dl_color_source.h index 094006e..39359d7 100644 --- a/display_list/effects/dl_color_source.h +++ b/display_list/effects/dl_color_source.h
@@ -644,7 +644,7 @@ uniform_data_(std::move(uniform_data)) {} bool isUIThreadSafe() const override { - for (auto sampler : samplers_) { + for (const auto& sampler : samplers_) { if (!sampler->isUIThreadSafe()) { return false; }