Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 64b7d96

Browse files
committed
Move the comment back
1 parent e78332c commit 64b7d96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ui/painting/multi_frame_codec.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ sk_sp<SkImage> MultiFrameCodec::State::GetNextFrameImage(
140140
result = SkImage::MakeCrossContextFromPixmap(
141141
resourceContext.get(), pixmap, true);
142142
} else {
143+
// Defer decoding until time of draw later on the raster thread.
144+
// Can happen when GL operations are currently forbidden such as
145+
// in the background on iOS.
143146
result = SkImage::MakeFromBitmap(bitmap);
144147
}
145148
}));

0 commit comments

Comments
 (0)