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

Unified Diff: chrome/common/mach_ipc_mac.h

Issue 500118: Fix cpu/memory measurements on OS X. (Closed)
Patch Set: foobar Created 11 years 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 8c345ddfda72a759b29878378861e1af51a3214a..42b9c65ae3906273cb94767edb39be9091c921b1 100644
--- a/chrome/common/mach_ipc_mac.h
+++ b/chrome/common/mach_ipc_mac.h
@@ -167,8 +167,9 @@ class MachMessage {
bool AddDescriptor(const MachMsgPortDescriptor &desc);
int GetDescriptorCount() const {
- return storage_->body.msgh_descriptor_count;
- }
+ return storage_->body.msgh_descriptor_count;
+ }
+
MachMsgPortDescriptor *GetDescriptor(int n);
// Convenience method which gets the mach port described by the descriptor

Powered by Google App Engine
This is Rietveld 408576698