diff --git a/wrench/src/json_frame_writer.rs b/wrench/src/json_frame_writer.rs index 4f48b8d079..fe44f659f0 100644 --- a/wrench/src/json_frame_writer.rs +++ b/wrench/src/json_frame_writer.rs @@ -220,8 +220,7 @@ impl webrender::ApiRecordingReceiver for JsonFrameWriter { ); let bytes = match data { &ImageData::Raw(ref v) => { (**v).clone() } - &ImageData::ExternalHandle(_) => { return; } - &ImageData::ExternalBuffer(_) => { return; } + &ImageData::External(_) => { return; } &ImageData::Blob(_) => { return; } }; self.images.insert(*key, CachedImage { diff --git a/wrench/src/yaml_frame_writer.rs b/wrench/src/yaml_frame_writer.rs index 23cd0bdf1a..6ca32b57f7 100644 --- a/wrench/src/yaml_frame_writer.rs +++ b/wrench/src/yaml_frame_writer.rs @@ -782,8 +782,7 @@ impl webrender::ApiRecordingReceiver for YamlFrameWriterReceiver { ); let bytes = match data { &ImageData::Raw(ref v) => { (**v).clone() } - &ImageData::ExternalHandle(_) => { return; } - &ImageData::ExternalBuffer(_) => { return; } + &ImageData::External(_) => { return; } &ImageData::Blob(_) => { return; } }; self.frame_writer.images.insert(*key, CachedImage {