Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 87e28f8f15be90f18e69853304ad064a8a7a92bf..8b33087e046b70a66630d0773756571c90a21390 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2864,8 +2864,8 @@ void Debug::CallCEventCallback(v8::DebugEvent event, |
Handle<Object> event_data, |
v8::Debug::ClientData* client_data) { |
Handle<Foreign> callback_obj(Handle<Foreign>::cast(event_listener_)); |
- v8::Debug::EventCallback2 callback = |
- FUNCTION_CAST<v8::Debug::EventCallback2>( |
+ v8::Debug::EventCallback callback = |
+ FUNCTION_CAST<v8::Debug::EventCallback>( |
callback_obj->foreign_address()); |
EventDetailsImpl event_details( |
event, |