| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| index 29a5a4606e92e0b8b66e3d22d4a0aa7f1f40c8e4..ddcb4714f68a66281cc840bca4f51e90d54ec735 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| @@ -658,9 +658,7 @@ inline double toCoreDate(v8::Isolate* isolate,
|
| inline v8::MaybeLocal<v8::Value> v8DateOrNaN(v8::Isolate* isolate,
|
| double value) {
|
| ASSERT(isolate);
|
| - return v8::Date::New(
|
| - isolate->GetCurrentContext(),
|
| - std::isfinite(value) ? value : std::numeric_limits<double>::quiet_NaN());
|
| + return v8::Date::New(isolate->GetCurrentContext(), value);
|
| }
|
|
|
| // FIXME: Remove the special casing for NodeFilter and XPathNSResolver.
|
|
|