Fix the event size parameters in the Embedder ComplexClip test (#22455)

This commit is contained in:
Jim Graham 2020-11-12 09:34:03 -08:00 committed by GitHub
parent 021ff04336
commit 69021ce130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2601,8 +2601,8 @@ TEST_F(EmbedderTest, ComplexClipsAreCorrectlyCalculated) {
FlutterWindowMetricsEvent event = {};
event.struct_size = sizeof(event);
event.width = 400;
event.height = 300;
event.width = 1024;
event.height = 600;
event.pixel_ratio = 1.0;
ASSERT_EQ(FlutterEngineSendWindowMetricsEvent(engine.get(), &event),
kSuccess);