Index: base/metrics/field_trial.cc |
diff --git a/base/metrics/field_trial.cc b/base/metrics/field_trial.cc |
index 6b38d55bbd95f21dd57a5ae2a858277a9e6e9353..7a6685472d65eea5793467f10cc0af21db37531c 100644 |
--- a/base/metrics/field_trial.cc |
+++ b/base/metrics/field_trial.cc |
@@ -1156,11 +1156,7 @@ bool FieldTrialList::CreateTrialsFromDescriptor(int fd_key) { |
if (fd == -1) |
return false; |
-#if defined(OS_MACOSX) && !defined(OS_IOS) |
SharedMemoryHandle shm_handle(FileDescriptor(fd, true)); |
-#else |
- SharedMemoryHandle shm_handle(fd, true); |
-#endif |
bool result = FieldTrialList::CreateTrialsFromSharedMemoryHandle(shm_handle); |
DCHECK(result); |