Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 3744ea78d9c7a95524179265b39a871cabf7021b..260cade1ffcc1e09296ebf6c565c0cd9f2e1daa5 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -386,8 +386,8 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeJSValue( |
SerializeString(Handle<String>::cast(value)); |
} else if (class_name == isolate_->heap()->Number_string()) { |
Handle<Object> value; |
- ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
- isolate_, value, Object::ToNumber(isolate_, object), EXCEPTION); |
+ ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate_, value, Object::ToNumber(object), |
+ EXCEPTION); |
if (value->IsSmi()) return SerializeSmi(Smi::cast(*value)); |
SerializeHeapNumber(Handle<HeapNumber>::cast(value)); |
} else if (class_name == isolate_->heap()->Boolean_string()) { |