diff options
Diffstat (limited to 'runtime/thread.h')
| -rw-r--r-- | runtime/thread.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/thread.h b/runtime/thread.h index 4f26803726..f3001be202 100644 --- a/runtime/thread.h +++ b/runtime/thread.h @@ -333,8 +333,7 @@ class Thread { } // Returns the java.lang.Thread's name, or null if this Thread* doesn't have a peer. - mirror::String* GetThreadName(const ScopedObjectAccessAlreadyRunnable& ts) const - REQUIRES_SHARED(Locks::mutator_lock_); + mirror::String* GetThreadName() const REQUIRES_SHARED(Locks::mutator_lock_); // Sets 'name' to the java.lang.Thread's name. This requires no transition to managed code, // allocation, or locking. |