Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 8741808d8280a565423163d7a272317e5f6380f6..c82b7e1dfc7a9e8e48e4be8fc87be416f10a93c5 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -124,8 +124,8 @@ class FunctionTester : public InitializedHandleScope { |
} |
Handle<JSObject> NewObject(const char* source) { |
- return v8::Utils::OpenHandle( |
- *v8::Local<v8::Object>::Cast(CompileRun(source))); |
+ return Handle<JSObject>::cast(v8::Utils::OpenHandle( |
+ *v8::Local<v8::Object>::Cast(CompileRun(source)))); |
} |
Handle<String> Val(const char* string) { |