Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 2a56797c2cce3f63921d5978cdd4bf69906515a1..2b6f2352ae647b5a2eec0b7461caa3aeab50b8a2 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8376,7 +8376,7 @@ void JSArray::Expand(int required_size) { |
} |
-MaybeObject* JSObject::SetElementsLength(Object* len) { |
+MaybeObject* JSArray::SetElementsLength(Object* len) { |
// We should never end in here with a pixel or external array. |
ASSERT(AllowsSetElementsLength()); |
return GetElementsAccessor()->SetLength(this, len); |