Commit 55a6a497 authored by verwaest's avatar verwaest Committed by Commit bot

Remove duplicate isolate

BUG=

Review URL: https://codereview.chromium.org/1196533004

Cr-Commit-Position: refs/heads/master@{#29204}
parent 97a887c5
......@@ -1336,7 +1336,6 @@ class DictionaryElementsAccessor
if (length <= Smi::kMaxValue) {
array->set_length(Smi::FromInt(length));
} else {
Isolate* isolate = array->GetIsolate();
Handle<Object> length_obj = isolate->factory()->NewNumberFromUint(length);
array->set_length(*length_obj);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment