diff options
Diffstat (limited to 'src/bun.js/webcore/blob.zig')
-rw-r--r-- | src/bun.js/webcore/blob.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/webcore/blob.zig b/src/bun.js/webcore/blob.zig index 604726c1e..c8d842a21 100644 --- a/src/bun.js/webcore/blob.zig +++ b/src/bun.js/webcore/blob.zig @@ -1253,8 +1253,8 @@ pub const Blob = struct { if (this.store) |store| { size += @sizeOf(Blob.Store); size += switch (store.data) { - .bytes => store.data.bytes.stored_name.len, - .file => store.data.file.pathlike.path.slice().len, + .bytes => store.data.bytes.stored_name.estimatedSize(), + .file => store.data.file.pathlike.estimatedSize(), }; } |