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

Unified Diff: third_party/crashpad/crashpad/util/mach/scoped_task_suspend_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/mach/scoped_task_suspend_test.cc
diff --git a/third_party/crashpad/crashpad/util/mach/scoped_task_suspend_test.cc b/third_party/crashpad/crashpad/util/mach/scoped_task_suspend_test.cc
index b53b83dc0c7e2441b225af626f14954722213175..b23e61241b80e93102836bc2638a23e2553fd421 100644
--- a/third_party/crashpad/crashpad/util/mach/scoped_task_suspend_test.cc
+++ b/third_party/crashpad/crashpad/util/mach/scoped_task_suspend_test.cc
@@ -52,21 +52,21 @@ class ScopedTaskSuspendTest final : public MachMultiprocess {
void MachMultiprocessParent() override {
task_t child_task = ChildTask();
- EXPECT_EQ(0, SuspendCount(child_task));
+ EXPECT_EQ(SuspendCount(child_task), 0);
{
ScopedTaskSuspend suspend(child_task);
- EXPECT_EQ(1, SuspendCount(child_task));
+ EXPECT_EQ(SuspendCount(child_task), 1);
{
ScopedTaskSuspend suspend_again(child_task);
- EXPECT_EQ(2, SuspendCount(child_task));
+ EXPECT_EQ(SuspendCount(child_task), 2);
}
- EXPECT_EQ(1, SuspendCount(child_task));
+ EXPECT_EQ(SuspendCount(child_task), 1);
}
- EXPECT_EQ(0, SuspendCount(child_task));
+ EXPECT_EQ(SuspendCount(child_task), 0);
}
void MachMultiprocessChild() override {

Powered by Google App Engine
This is Rietveld 408576698