summaryrefslogtreecommitdiff
path: root/base/synchronization/lock_impl_posix.cc
diff options
context:
space:
mode:
authorHidehiko Abe <hidehiko@google.com>2018-02-22 14:40:41 +0900
committerTreehugger Robot <treehugger-gerrit@google.com>2018-02-22 16:14:01 +0000
commit31babce11bb4f466b4754956e05cf62f48060fa4 (patch)
tree50de4fa99f372c8487f3485b417746ee4fa67c42 /base/synchronization/lock_impl_posix.cc
parentd2e5e07e17255851b7985e0696ac92322a5e813a (diff)
downloadlibchrome-31babce11bb4f466b4754956e05cf62f48060fa4.tar.gz
Remove misc unneeded modifications in libchrome.android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7
Bug: 73270448 Test: Built locally. Treehugger. Change-Id: I2c3f193e1677e4a673ab0b3b60c0c3b40a57987b
Diffstat (limited to 'base/synchronization/lock_impl_posix.cc')
-rw-r--r--base/synchronization/lock_impl_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/synchronization/lock_impl_posix.cc b/base/synchronization/lock_impl_posix.cc
index ff997ea65f..e54595b87f 100644
--- a/base/synchronization/lock_impl_posix.cc
+++ b/base/synchronization/lock_impl_posix.cc
@@ -21,7 +21,7 @@ namespace internal {
// Lock::PriorityInheritanceAvailable still must be checked as the code may
// compile but the underlying platform still may not correctly support priority
// inheritance locks.
-#if defined(OS_NACL) || defined(OS_ANDROID) || defined(__ANDROID__)
+#if defined(OS_NACL) || defined(OS_ANDROID)
#define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 0
#else
#define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 1