summaryrefslogtreecommitdiff
path: root/runtime/gc_root-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc_root-inl.h')
-rw-r--r--runtime/gc_root-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc_root-inl.h b/runtime/gc_root-inl.h
index 11ccd33bc2..390ed3c664 100644
--- a/runtime/gc_root-inl.h
+++ b/runtime/gc_root-inl.h
@@ -39,7 +39,7 @@ inline GcRoot<MirrorType>::GcRoot(MirrorType* ref)
template<class MirrorType>
inline GcRoot<MirrorType>::GcRoot(ObjPtr<MirrorType, kIsDebugBuild> ref)
- : GcRoot(ref.Decode()) { }
+ : GcRoot(ref.Ptr()) { }
inline std::string RootInfo::ToString() const {
std::ostringstream oss;