Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index c653c149760257b1ccee834a9dd37e96df5c7bbf..1d545af2c42456721fa0b5c0c12ea7c74e78d27b 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -435,7 +435,7 @@ void Logger::IssueCodeAddedEvent(Code* code, |
event.code_len = code->instruction_size(); |
Handle<Script> script_handle = |
script != NULL ? Handle<Script>(script) : Handle<Script>(); |
- event.script = v8::Handle<v8::Script>(ToApi<v8::Script>(script_handle)); |
+ event.script = ToApiHandle<v8::Script>(script_handle); |
event.name.str = name; |
event.name.len = name_len; |