Index: test/cctest/test-unboxed-doubles.cc |
diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc |
index 3dd56ee09ea00f953b31d048e92b5539a53d533b..09c185c84beaf454308e8786ccdb8ee1fe5040c6 100644 |
--- a/test/cctest/test-unboxed-doubles.cc |
+++ b/test/cctest/test-unboxed-doubles.cc |
@@ -54,10 +54,12 @@ static Handle<String> MakeName(const char* str, int suffix) { |
Handle<JSObject> GetObject(const char* name) { |
- return v8::Utils::OpenHandle(*v8::Local<v8::Object>::Cast( |
- CcTest::global() |
- ->Get(v8::Isolate::GetCurrent()->GetCurrentContext(), v8_str(name)) |
- .ToLocalChecked())); |
+ return Handle<JSObject>::cast( |
+ v8::Utils::OpenHandle(*v8::Local<v8::Object>::Cast( |
+ CcTest::global() |
+ ->Get(v8::Isolate::GetCurrent()->GetCurrentContext(), |
+ v8_str(name)) |
+ .ToLocalChecked()))); |
} |