Skip to content

Commit 1b9e4a6

Browse files
committed
Add null check to test
1 parent 1885bd3 commit 1b9e4a6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎engine/src/flutter/impeller/display_list/aiks_dl_blend_unittests.cc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,7 @@ TEST_P(AiksTest, FramebufferBlendDifferenceNoDiagonalSeam) {
870870
// [2..14, 2..14]. Without masking subpassLoad by gl_SampleMaskIn, pixels
871871
// along the FramebufferBlend quad's diagonal seam drop to ~191.
872872
const uint8_t* bytes = readback->OnGetContents();
873+
ASSERT_NE(bytes, nullptr);
873874
for (int y = 3; y < 13; ++y) {
874875
for (int x = 3; x < 13; ++x) {
875876
const uint8_t* px = bytes + (y * 16 + x) * 4;

0 commit comments

Comments
 (0)