| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 88684a4fb87ab3907ed501fdbcd5e2d1d16e06f4..8344355a26cae6da87cd8ac032ecbec5124d7597 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -844,7 +844,7 @@ Handle<DescriptorArray> Factory::CopyAppendCallbackDescriptors(
|
|
|
| // Copy the descriptors from the array.
|
| for (int i = 0; i < array->number_of_descriptors(); i++) {
|
| - if (array->GetType(i) != NULL_DESCRIPTOR) {
|
| + if (!array->IsNullDescriptor(i)) {
|
| result->CopyFrom(descriptor_count++, *array, i, witness);
|
| }
|
| }
|
|
|