Index: src/inspector/injected-script.cc |
diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc |
index c1c0f8be63e2a1e316a200ae0fc95d4ff4084158..d379a50c7378bffe3f8d28230c27048682ec7002 100644 |
--- a/src/inspector/injected-script.cc |
+++ b/src/inspector/injected-script.cc |
@@ -380,8 +380,8 @@ InjectedScript::createExceptionDetails(ErrorString* errorString, |
: message->GetStartColumn(m_context->context()).FromMaybe(0)) |
.build(); |
if (!message.IsEmpty()) { |
- exceptionDetails->setScriptId( |
- String16::fromInteger(message->GetScriptOrigin().ScriptID()->Value())); |
+ exceptionDetails->setScriptId(String16::fromInteger( |
+ static_cast<int>(message->GetScriptOrigin().ScriptID()->Value()))); |
v8::Local<v8::StackTrace> stackTrace = message->GetStackTrace(); |
if (!stackTrace.IsEmpty() && stackTrace->GetFrameCount() > 0) |
exceptionDetails->setStackTrace(m_context->inspector() |