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

Unified Diff: sandbox/mac/bootstrap_sandbox_unittest.mm

Issue 864163003: Rename base::Process::pid() to Pid() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: sandbox/mac/bootstrap_sandbox_unittest.mm
diff --git a/sandbox/mac/bootstrap_sandbox_unittest.mm b/sandbox/mac/bootstrap_sandbox_unittest.mm
index bd788bd236bd93d1747794ff0d502011601ed24c..7e5e8b647f55f4826df3ebdc53eef65f502abd95 100644
--- a/sandbox/mac/bootstrap_sandbox_unittest.mm
+++ b/sandbox/mac/bootstrap_sandbox_unittest.mm
@@ -107,7 +107,7 @@ class BootstrapSandboxTest : public base::MultiProcessTest {
EXPECT_TRUE(process.WaitForExit(&code));
EXPECT_EQ(0, code);
if (out_pid)
- *out_pid = process.pid();
+ *out_pid = process.Pid();
}
protected:
@@ -129,7 +129,7 @@ TEST_F(BootstrapSandboxTest, DistributedNotifications_Unsandboxed) {
[observer waitForNotification];
EXPECT_EQ(1, [observer receivedCount]);
- EXPECT_EQ(process.pid(), [[observer object] intValue]);
+ EXPECT_EQ(process.Pid(), [[observer object] intValue]);
}
// Run the test with the sandbox enabled without notifications on the policy

Powered by Google App Engine
This is Rietveld 408576698