Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 7dd9fc7889d8e2806a763b5251f2b4d13a71b2a5..a6e9343425834786d5f1b8037ac0358e877d95be 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -13572,7 +13572,8 @@ THREADED_TEST(PixelArray) { |
"sum;"); |
CHECK_EQ(28, result->Int32Value()); |
- i::Handle<i::Smi> value(i::Smi::FromInt(2)); |
+ i::Handle<i::Smi> value(i::Smi::FromInt(2), |
+ reinterpret_cast<i::Isolate*>(context->GetIsolate())); |
i::Handle<i::Object> no_failure; |
no_failure = |
i::JSObject::SetElement(jsobj, 1, value, NONE, i::kNonStrictMode); |