Redo flutter engine flutter autoroll bd3d1990 485b 419c 8c55 b27e3eeb15ed 1727117767 (#155579)

fixes https://github.com/flutter/flutter/issues/155578
A manual roll for https://github.com/flutter/flutter/pull/155560
This commit is contained in:
gaaclarke 2024-09-23 17:21:06 -07:00 committed by GitHub
parent beaf1fe680
commit 1ed8a0a0fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
9bb0ece79ae21784092049465a89efc7f488342e
95c5a0940ad9350d1854728b14d20e58d495f8b9

View File

@ -108,7 +108,7 @@ void main() {
<String>['BUILD', 'Placeholder', 'CustomPaint', 'LAYOUT', 'UPDATING COMPOSITING BITS', 'PAINT', 'COMPOSITING', 'FINALIZE TREE'],
);
args = (events.where((TimelineEvent event) => event.json!['name'] == '$Placeholder').single.json!['args'] as Map<String, Object?>).cast<String, String>();
expect(args['color'], 'Color(0xffffffff)');
expect(args['color'], '${const Color(0xffffffff)}');
debugProfileBuildsEnabled = false;
debugEnhanceBuildTimelineArguments = false;
@ -121,7 +121,7 @@ void main() {
<String>['BUILD', 'Placeholder', 'LAYOUT', 'UPDATING COMPOSITING BITS', 'PAINT', 'COMPOSITING', 'FINALIZE TREE'],
);
args = (events.where((TimelineEvent event) => event.json!['name'] == '$Placeholder').single.json!['args'] as Map<String, Object?>).cast<String, String>();
expect(args['color'], 'Color(0xffffffff)');
expect(args['color'], '${const Color(0xffffffff)}');
debugProfileBuildsEnabledUserWidgets = false;
debugEnhanceBuildTimelineArguments = false;

View File

@ -55,7 +55,7 @@ void main() {
await tester.pump(const Duration(milliseconds: 500));
// The Scaffold background color is updated.
expect(getScaffoldMaterial().color, const Color(0xff333731));
expect(getScaffoldMaterial().color, isSameColorAs(const Color(0xff333731)));
await tester.pumpAndSettle();