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

Unified Diff: third_party/crashpad/crashpad/util/win/registration_protocol_win_test.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/util/win/registration_protocol_win_test.cc
diff --git a/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc b/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc
index 60e7c86c69a99050805b7aa0d722cbc9eef0dd45..10a5bb63cf6c533b6ba5e8052eb9db9a5162acf5 100644
--- a/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc
+++ b/third_party/crashpad/crashpad/util/win/registration_protocol_win_test.cc
@@ -44,8 +44,8 @@ TEST(SecurityDescriptor, MatchesAdvapi32) {
size_t created_len;
const void* const created =
GetSecurityDescriptorForNamedPipeInstance(&created_len);
- ASSERT_EQ(sec_desc_len, created_len);
- EXPECT_EQ(0, memcmp(sec_desc, created, sec_desc_len));
+ ASSERT_EQ(created_len, sec_desc_len);
+ EXPECT_EQ(memcmp(sec_desc, created, sec_desc_len), 0);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698