Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1075)

Unified Diff: mojo/edk/system/message_in_transit.cc

Issue 1549703002: Suppress erronous TSAN errors in new EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert change to enable new EDK by default Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/sanitizers/tsan_suppressions.cc ('k') | mojo/edk/system/raw_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_in_transit.cc
diff --git a/mojo/edk/system/message_in_transit.cc b/mojo/edk/system/message_in_transit.cc
index ee90fc1153d1495a7851407ae2f15231b64a7e33..a5532133cb06f13f1844ef5832123f6ad3202d23 100644
--- a/mojo/edk/system/message_in_transit.cc
+++ b/mojo/edk/system/message_in_transit.cc
@@ -166,6 +166,7 @@ void MessageInTransit::ConstructorHelper(Type type,
// |total_size| is updated below, from the other values.
header()->type = type;
+ header()->unusedforalignment = 0;
header()->num_bytes = num_bytes;
header()->unused = 0;
header()->route_id = 0;
« no previous file with comments | « build/sanitizers/tsan_suppressions.cc ('k') | mojo/edk/system/raw_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698