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

Unified Diff: ipc/attachment_broker_privileged_mac_unittest.cc

Issue 1414603003: ipc: Move AttachmentBrokerPrivileged singleton logic into ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor formatting. Created 5 years, 2 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
« no previous file with comments | « ipc/attachment_broker_privileged_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/attachment_broker_privileged_mac_unittest.cc
diff --git a/ipc/attachment_broker_privileged_mac_unittest.cc b/ipc/attachment_broker_privileged_mac_unittest.cc
index c396ea3bc9ec43f901db6088589444294af76e3a..678f955775f5dbfeb8113e1073a3df9be2720468 100644
--- a/ipc/attachment_broker_privileged_mac_unittest.cc
+++ b/ipc/attachment_broker_privileged_mac_unittest.cc
@@ -167,7 +167,7 @@ class AttachmentBrokerPrivilegedMacMultiProcessTest
TEST_F(AttachmentBrokerPrivilegedMacMultiProcessTest, InsertRight) {
SetUpChild("InsertRightClient");
mach_msg_type_number_t original_name_count = GetActiveNameCount();
- IPC::AttachmentBrokerPrivilegedMac broker;
+ IPC::AttachmentBrokerPrivilegedMac broker(nullptr);
// Create some shared memory.
scoped_ptr<base::SharedMemory> shared_memory =
@@ -230,7 +230,7 @@ MULTIPROCESS_TEST_MAIN(InsertRightClient) {
TEST_F(AttachmentBrokerPrivilegedMacMultiProcessTest, InsertSameRightTwice) {
SetUpChild("InsertSameRightTwiceClient");
mach_msg_type_number_t original_name_count = GetActiveNameCount();
- IPC::AttachmentBrokerPrivilegedMac broker;
+ IPC::AttachmentBrokerPrivilegedMac broker(nullptr);
// Create some shared memory.
scoped_ptr<base::SharedMemory> shared_memory =
@@ -322,7 +322,7 @@ MULTIPROCESS_TEST_MAIN(InsertSameRightTwiceClient) {
TEST_F(AttachmentBrokerPrivilegedMacMultiProcessTest, InsertTwoRights) {
SetUpChild("InsertTwoRightsClient");
mach_msg_type_number_t original_name_count = GetActiveNameCount();
- IPC::AttachmentBrokerPrivilegedMac broker;
+ IPC::AttachmentBrokerPrivilegedMac broker(nullptr);
for (int i = 0; i < 2; ++i) {
// Create some shared memory.
« no previous file with comments | « ipc/attachment_broker_privileged_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698