Skip to content

Commit 86d839a

Browse files
authored
build: correct CHECK syntax (#48106)
1 parent 5be0be7 commit 86d839a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/app/electron_main_delegate.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ void RegisterPathProvider() {
213213
void ValidateV8Snapshot(v8::StartupData* data) {
214214
if (data->data &&
215215
electron::fuses::IsEmbeddedAsarIntegrityValidationEnabled()) {
216-
CHECK(data->raw_size, 0);
216+
CHECK_GT(data->raw_size, 0);
217217
UNSAFE_BUFFERS({
218218
base::span<const char> span_data(
219219
data->data, static_cast<unsigned long>(data->raw_size));

0 commit comments

Comments
 (0)