summaryrefslogtreecommitdiff
path: root/runtime/handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/handle.h')
-rw-r--r--runtime/handle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/handle.h b/runtime/handle.h
index c41010af54..d33d4a638a 100644
--- a/runtime/handle.h
+++ b/runtime/handle.h
@@ -134,7 +134,7 @@ class MutableHandle : public Handle<T> {
ALWAYS_INLINE T* Assign(ObjPtr<T> reference) REQUIRES_SHARED(Locks::mutator_lock_) {
StackReference<mirror::Object>* ref = Handle<T>::GetReference();
T* old = down_cast<T*>(ref->AsMirrorPtr());
- ref->Assign(reference.Decode());
+ ref->Assign(reference.Ptr());
return old;
}