Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index ce8884af7b6310ffdb349ecd3591f7f3f5d75ba0..9b1b2410b8e349c290308887d8f8ee28d8e0c02a 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -197,9 +197,8 @@ void Accessors::ArrayLengthSetter( |
} |
if (uint32_v->Number() == number_v->Number()) { |
- MaybeHandle<Object> result; |
- result = JSArray::SetElementsLength(array_handle, uint32_v); |
- USE(result); |
+ maybe = JSArray::SetElementsLength(array_handle, uint32_v); |
+ maybe.ToHandleChecked(); |
Yang
2014/04/29 12:45:58
Using .Check() should suffice.
|
return; |
} |