Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 56ab514c6557d3808551aeccfef37b71802d3c75..fbda66fa775f9c06bf5998cca86f040564dad1eb 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -69,8 +69,8 @@ class FunctionTester : public InitializedHandleScope { |
isolate->OptionalRescheduleException(true); |
} |
- v8::Handle<v8::Message> CheckThrowsReturnMessage(Handle<Object> a, |
- Handle<Object> b) { |
+ v8::Local<v8::Message> CheckThrowsReturnMessage(Handle<Object> a, |
+ Handle<Object> b) { |
TryCatch try_catch(reinterpret_cast<v8::Isolate*>(isolate)); |
MaybeHandle<Object> no_result = Call(a, b); |
CHECK(isolate->has_pending_exception()); |
@@ -122,12 +122,12 @@ class FunctionTester : public InitializedHandleScope { |
Handle<JSFunction> NewFunction(const char* source) { |
return v8::Utils::OpenHandle( |
- *v8::Handle<v8::Function>::Cast(CompileRun(source))); |
+ *v8::Local<v8::Function>::Cast(CompileRun(source))); |
} |
Handle<JSObject> NewObject(const char* source) { |
return v8::Utils::OpenHandle( |
- *v8::Handle<v8::Object>::Cast(CompileRun(source))); |
+ *v8::Local<v8::Object>::Cast(CompileRun(source))); |
} |
Handle<String> Val(const char* string) { |