summaryrefslogtreecommitdiffstats
path: root/chromium/base/files/file.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-09-07 13:12:05 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-09 10:02:59 +0000
commit33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (patch)
treef6af110909c79b2759136554f1143d8b0572af0a /chromium/base/files/file.h
parent7d2c5d177e9813077a621df8d18c0deda73099b3 (diff)
BASELINE: Update Chromium to 104.0.5112.120
Change-Id: I5d2726c2ab018d75d055739b6ba64317904f05bb Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438935 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/files/file.h')
-rw-r--r--chromium/base/files/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/base/files/file.h b/chromium/base/files/file.h
index 69d582e3481..6272fccca2f 100644
--- a/chromium/base/files/file.h
+++ b/chromium/base/files/file.h
@@ -209,7 +209,7 @@ class BASE_EXPORT File {
// Simplified versions of Read() and friends (see below) that check the int
// return value and just return a boolean. They return true if and only if
- // the function read in / wrote out exactly |size| bytes of data.
+ // the function read in / wrote out exactly |data.size()| bytes of data.
bool ReadAndCheck(int64_t offset, span<uint8_t> data);
bool ReadAtCurrentPosAndCheck(span<uint8_t> data);
bool WriteAndCheck(int64_t offset, span<const uint8_t> data);