Index: src/elements.h |
diff --git a/src/elements.h b/src/elements.h |
index bd5e7229b934609fae0c4a30ef780baf1ef62311..2ee07aa4746bf7cb2920b7324d4a3129b9b54961 100644 |
--- a/src/elements.h |
+++ b/src/elements.h |
@@ -126,9 +126,10 @@ class ElementsAccessor { |
// elements. This method should only be called for array expansion OR by |
// runtime JavaScript code that use InternalArrays and don't care about |
// EcmaScript 5.1 semantics. |
- MUST_USE_RESULT virtual MaybeObject* SetCapacityAndLength(JSArray* array, |
- int capacity, |
- int length) = 0; |
+ virtual void SetCapacityAndLength( |
+ Handle<JSArray> array, |
+ int capacity, |
+ int length) = 0; |
// Deletes an element in an object, returning a new elements backing store. |
MUST_USE_RESULT virtual Handle<Object> Delete( |