Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use new shiny syntax
  • Loading branch information
cbracken committed Oct 28, 2024
commit f1bd31bcf22afff753d947e579502c0c2866f231
4 changes: 2 additions & 2 deletions shell/platform/darwin/common/buffer_conversions.mm
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
public:
explicit NSDataMapping(NSData* data) : data_(data) {}

size_t GetSize() const override { return [data_ length]; }
size_t GetSize() const override { return data_.length; }

const uint8_t* GetMapping() const override { return static_cast<const uint8_t*>([data_ bytes]); }
const uint8_t* GetMapping() const override { return static_cast<const uint8_t*>(data_.bytes); }

bool IsDontNeedSafe() const override { return false; }

Expand Down