summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chromium/gpu/command_buffer/common/mailbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/gpu/command_buffer/common/mailbox.cc b/chromium/gpu/command_buffer/common/mailbox.cc
index ac7f9dd54e2..2b814e84e0c 100644
--- a/chromium/gpu/command_buffer/common/mailbox.cc
+++ b/chromium/gpu/command_buffer/common/mailbox.cc
@@ -34,7 +34,7 @@ Mailbox GenerateMailbox(bool is_shared_image) {
// Generates cryptographically-secure bytes.
base::RandBytes(result.name, sizeof(result.name));
MarkMailboxAsSharedImage(is_shared_image, result.name);
-#if !defined(NDEBUG)
+#if !defined(NDEBUG) || defined(TOOLKIT_QT)
int8_t value = 1;
for (size_t i = 1; i < sizeof(result.name); ++i)
value ^= result.name[i];