Index: test/unittests/compiler/js-typed-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-typed-lowering-unittest.cc b/test/unittests/compiler/js-typed-lowering-unittest.cc |
index 42ba64b9bcbc2cc2e3f35d27a8e9cebd6560ba8f..9886c267b82fc387eba046f122395f83255acfb7 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -228,7 +228,7 @@ TEST_F(JSTypedLoweringTest, ParameterWithNull) { |
TEST_F(JSTypedLoweringTest, ParameterWithNaN) { |
- const double kNaNs[] = {base::OS::nan_value(), |
+ const double kNaNs[] = {-std::numeric_limits<double>::quiet_NaN(), |
std::numeric_limits<double>::quiet_NaN(), |
std::numeric_limits<double>::signaling_NaN()}; |
TRACED_FOREACH(double, nan, kNaNs) { |