diff options
Diffstat (limited to 'runtime/mirror/object-inl.h')
-rw-r--r-- | runtime/mirror/object-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/mirror/object-inl.h b/runtime/mirror/object-inl.h index b994354015..2392561848 100644 --- a/runtime/mirror/object-inl.h +++ b/runtime/mirror/object-inl.h @@ -60,8 +60,8 @@ inline uint32_t Object::GetLockOwnerThreadId() { return Monitor::GetLockOwnerThreadId(this); } -inline void Object::MonitorEnter(Thread* self) { - Monitor::MonitorEnter(self, this); +inline mirror::Object* Object::MonitorEnter(Thread* self) { + return Monitor::MonitorEnter(self, this); } inline bool Object::MonitorExit(Thread* self) { |