summaryrefslogtreecommitdiffstats
path: root/runtime/mirror/object_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/object_array.h')
-rw-r--r--runtime/mirror/object_array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/mirror/object_array.h b/runtime/mirror/object_array.h
index 6404faf3f5..5eddc18745 100644
--- a/runtime/mirror/object_array.h
+++ b/runtime/mirror/object_array.h
@@ -26,8 +26,8 @@ template<class T>
class MANAGED ObjectArray: public Array {
public:
// The size of Object[].class.
- static uint32_t ClassSize() {
- return Array::ClassSize();
+ static uint32_t ClassSize(size_t pointer_size) {
+ return Array::ClassSize(pointer_size);
}
static ObjectArray<T>* Alloc(Thread* self, Class* object_array_class, int32_t length,