summaryrefslogtreecommitdiffstats
path: root/runtime/jni_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jni_internal.h')
-rw-r--r--runtime/jni_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jni_internal.h b/runtime/jni_internal.h
index 7e76e11c71..37195eb34a 100644
--- a/runtime/jni_internal.h
+++ b/runtime/jni_internal.h
@@ -67,7 +67,7 @@ class JavaVMExt : public JavaVM {
* Returns 'true' on success. On failure, sets 'detail' to a
* human-readable description of the error.
*/
- bool LoadNativeLibrary(const std::string& path, Handle<mirror::ClassLoader> class_loader,
+ bool LoadNativeLibrary(const std::string& path, const Handle<mirror::ClassLoader>& class_loader,
std::string* detail)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);