wrapper: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-20 12:34:13 -05:00
parent befa827da1
commit 4ea1b6f293
11 changed files with 43 additions and 49 deletions

View File

@ -60,16 +60,16 @@ class CefByteReadHandler : public CefReadHandler {
CefByteReadHandler& operator=(const CefByteReadHandler&) = delete;
// CefReadHandler methods.
virtual size_t Read(void* ptr, size_t size, size_t n) override;
virtual int Seek(int64_t offset, int whence) override;
virtual int64_t Tell() override;
virtual int Eof() override;
virtual bool MayBlock() override { return false; }
size_t Read(void* ptr, size_t size, size_t n) override;
int Seek(int64_t offset, int whence) override;
int64_t Tell() override;
int Eof() override;
bool MayBlock() override { return false; }
private:
const unsigned char* bytes_;
int64_t size_;
int64_t offset_;
int64_t offset_ = 0;
CefRefPtr<CefBaseRefCounted> source_;
base::Lock lock_;