diff options
| author | 2014-05-16 09:59:29 -0700 | |
|---|---|---|
| committer | 2014-05-16 10:36:37 -0700 | |
| commit | db2633ce0358c704f97130a94b582602cb01d14a (patch) | |
| tree | ab941b728fe4343eb9872abc85755640bf059800 /runtime/thread.cc | |
| parent | f59c6dda4928cfb05d32a56fd161e3f86a9ca560 (diff) | |
Change ObjectLock to take Handle instead of Handle pointer.
Change-Id: I9abdcdc5c9c9174634336b9250ab24c6aee434ec
Diffstat (limited to 'runtime/thread.cc')
| -rw-r--r-- | runtime/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc index d535118485..415cc0ba88 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -1105,7 +1105,7 @@ void Thread::Destroy() { if (lock != nullptr) { StackHandleScope<1> hs(self); Handle<mirror::Object> h_obj(hs.NewHandle(lock)); - ObjectLock<mirror::Object> locker(self, &h_obj); + ObjectLock<mirror::Object> locker(self, h_obj); locker.NotifyAll(); } } |