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

Unified Diff: chrome/common/mach_ipc_mac.h

Issue 460126: Mac: Proof-of-concept task manager (Closed)
Patch Set: rebase Created 10 years, 12 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: chrome/common/mach_ipc_mac.h
diff --git a/chrome/common/mach_ipc_mac.h b/chrome/common/mach_ipc_mac.h
index 42b9c65ae3906273cb94767edb39be9091c921b1..99ea378b9486bb691c1c1f4c3a87b273d0ac4b08 100644
--- a/chrome/common/mach_ipc_mac.h
+++ b/chrome/common/mach_ipc_mac.h
@@ -86,7 +86,7 @@ class MachMsgPortDescriptor : public mach_msg_port_descriptor_t {
}
// For passing send rights to a port
- MachMsgPortDescriptor(mach_port_t in_name) {
+ explicit MachMsgPortDescriptor(mach_port_t in_name) {
Mark Mentovai 2010/01/11 20:22:46 Good catch.
name = in_name;
pad1 = 0;
pad2 = 0;

Powered by Google App Engine
This is Rietveld 408576698