diff options
Diffstat (limited to 'components/script/dom/filereader.rs')
-rw-r--r-- | components/script/dom/filereader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/filereader.rs b/components/script/dom/filereader.rs index 58aa1dc1ba3..9e3f4674fa1 100644 --- a/components/script/dom/filereader.rs +++ b/components/script/dom/filereader.rs @@ -349,7 +349,7 @@ impl FileReader { self.change_ready_state(FileReaderReadyState::Loading); // Step 4 - let blob_contents = blob.get_data().clone(); + let blob_contents = blob.get_slice_or_empty(); let type_ = blob.Type(); |