diff options
author | 2018-06-04 09:14:42 +0000 | |
---|---|---|
committer | 2018-06-04 09:14:42 +0000 | |
commit | 9ddef18ae95859a985e7a0de7e22999fcbc28e07 (patch) | |
tree | ff38945fc61f1e32717a18b0a6901c5d11c33ccb /runtime/class_root.h | |
parent | 0366f3251c3078a0161d178e3b0afd5efc4c84c0 (diff) | |
parent | bcf175247272d0e321c8d988c3c01c123b56e36e (diff) |
Merge "ObjPtr<>-ify array allocations."
Diffstat (limited to 'runtime/class_root.h')
-rw-r--r-- | runtime/class_root.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_root.h b/runtime/class_root.h index 5c7819841b..4aa9801ab4 100644 --- a/runtime/class_root.h +++ b/runtime/class_root.h @@ -127,7 +127,7 @@ inline ObjPtr<mirror::Class> GetClassRoot( ObjPtr<mirror::Class> klass = class_roots->GetWithoutChecks<kDefaultVerifyFlags, kReadBarrierOption>(index); DCHECK(klass != nullptr); - return klass.Ptr(); + return klass; } template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier> |