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

Commit deaae05

Browse files
committed
fix lint error
1 parent 1353018 commit deaae05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ui/painting/image_encoding_skia.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ void ConvertImageToRasterSkia(
1717
const fml::WeakPtr<GrDirectContext>& resource_context,
1818
const fml::TaskRunnerAffineWeakPtr<SnapshotDelegate>& snapshot_delegate,
1919
const std::shared_ptr<const fml::SyncSwitch>& is_gpu_disabled_sync_switch) {
20+
FML_DCHECK(raster_task_runner && io_task_runner);
21+
2022
// If the owning_context is kRaster, we can't access it on this task runner.
2123
if (dl_image->owning_context() != DlImage::OwningContext::kRaster) {
2224
auto image = dl_image->skia_image();

0 commit comments

Comments
 (0)