summaryrefslogtreecommitdiff
path: root/runtime/mirror/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/string.h')
-rw-r--r--runtime/mirror/string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/mirror/string.h b/runtime/mirror/string.h
index 116ecd1cab..0e3c500ca5 100644
--- a/runtime/mirror/string.h
+++ b/runtime/mirror/string.h
@@ -187,7 +187,8 @@ class MANAGED String final : public Object {
int32_t CompareTo(ObjPtr<String> other) REQUIRES_SHARED(Locks::mutator_lock_);
- ObjPtr<CharArray> ToCharArray(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_)
+ static ObjPtr<CharArray> ToCharArray(Handle<String> h_this, Thread* self)
+ REQUIRES_SHARED(Locks::mutator_lock_)
REQUIRES(!Roles::uninterruptible_);
void GetChars(int32_t start, int32_t end, Handle<CharArray> array, int32_t index)