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

Unified Diff: third_party/crashpad/crashpad/minidump/test/minidump_file_writer_test_util.cc

Issue 2804713002: Update Crashpad to b4095401639ebe2ad33169e5c1d994065cbff1b8 (Closed)
Patch Set: Created 3 years, 8 months 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
Index: third_party/crashpad/crashpad/minidump/test/minidump_file_writer_test_util.cc
diff --git a/third_party/crashpad/crashpad/minidump/test/minidump_file_writer_test_util.cc b/third_party/crashpad/crashpad/minidump/test/minidump_file_writer_test_util.cc
index 723e97d08338fb73f6872667e19cb23ebcb12e68..f372212bc405998f192a67058cb5c080f7bdc8ca 100644
--- a/third_party/crashpad/crashpad/minidump/test/minidump_file_writer_test_util.cc
+++ b/third_party/crashpad/crashpad/minidump/test/minidump_file_writer_test_util.cc
@@ -48,11 +48,11 @@ void VerifyMinidumpHeader(const MINIDUMP_HEADER* header,
uint32_t streams,
uint32_t timestamp) {
ASSERT_TRUE(header);
- ASSERT_EQ(streams, header->NumberOfStreams);
- ASSERT_EQ(streams ? sizeof(MINIDUMP_HEADER) : 0u, header->StreamDirectoryRva);
- EXPECT_EQ(0u, header->CheckSum);
- EXPECT_EQ(timestamp, header->TimeDateStamp);
- EXPECT_EQ(MiniDumpNormal, header->Flags);
+ ASSERT_EQ(header->NumberOfStreams, streams);
+ ASSERT_EQ(header->StreamDirectoryRva, streams ? sizeof(MINIDUMP_HEADER) : 0u);
+ EXPECT_EQ(header->CheckSum, 0u);
+ EXPECT_EQ(header->TimeDateStamp, timestamp);
+ EXPECT_EQ(header->Flags, MiniDumpNormal);
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698