Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 3445d4ddb461a95f07ec26824dd78828896d562c..ad4bc8d2450fc11a0feb58ddc66cb27c8e074c21 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -78,7 +78,7 @@ Handle<JSMessageObject> MessageHandler::MakeMessageObject( |
if (loc) { |
start = loc->start_pos(); |
end = loc->end_pos(); |
- script_handle = GetScriptWrapper(loc->script()); |
+ script_handle = Script::GetWrapper(loc->script()); |
} |
Handle<Object> stack_frames_handle = stack_frames.is_null() |