Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 8ec4612b709f5c09ebfd9ea71832780a28cef331..c378c57e60d492d28c9ee19082d407dd007eb733 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -17146,7 +17146,7 @@ TEST(ErrorLevelWarning) { |
i::Handle<i::JSMessageObject> message = |
i::MessageHandler::MakeMessageObject( |
i_isolate, i::MessageTemplate::kAsmJsInvalid, &location, msg, |
- i::Handle<i::JSArray>::null()); |
+ i::Handle<i::FixedArray>::null()); |
message->set_error_level(levels[i]); |
expected_error_level = levels[i]; |
i::MessageHandler::ReportMessage(i_isolate, &location, message); |