Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 75314e93f989fcd9d041f9679d4607d2b625bd11..1b9d5c07c251d25a1813bc16e67ab667a6b0de24 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -436,7 +436,7 @@ class MessageHandler { |
// Report a formatted message (needs JS allocation). |
static void ReportMessage(Isolate* isolate, MessageLocation* loc, |
- Handle<Object> message); |
+ Handle<JSMessageObject> message); |
static void DefaultMessageReport(Isolate* isolate, const MessageLocation* loc, |
Handle<Object> message_obj); |