From 9865bde5d822f56c4732214c2005dfcaa41f94cf Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Mon, 21 Dec 2015 09:58:16 -0800 Subject: Rename NullHandle to ScopedNullHandle This makes it clearer that is invalid to do things like: Handle h = ScopedNullHandle(); Bug: 26233305 Change-Id: I6d8f54eae01ec2e901cb7043afa853ea77db79fe --- runtime/class_linker-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/class_linker-inl.h') diff --git a/runtime/class_linker-inl.h b/runtime/class_linker-inl.h index a5d10b265f..ea1afa8203 100644 --- a/runtime/class_linker-inl.h +++ b/runtime/class_linker-inl.h @@ -30,7 +30,7 @@ namespace art { inline mirror::Class* ClassLinker::FindSystemClass(Thread* self, const char* descriptor) { - return FindClass(self, descriptor, NullHandle()); + return FindClass(self, descriptor, ScopedNullHandle()); } inline mirror::Class* ClassLinker::FindArrayClass(Thread* self, mirror::Class** element_class) { -- cgit v1.2.3-59-g8ed1b