Index: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp |
index cf2c2ba82e78c37f908e18bc1283ad9a97fd7e2d..a7f787432329e695ed9da019f12a7476403eadac 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp |
@@ -516,7 +516,7 @@ void V8RuntimeAgentImpl::compileScript(ErrorString* errorString, |
if (!persistScript) |
return; |
- String16 scriptValueId = String16::fromInteger(script->GetUnboundScript()->GetId()); |
+ String16 scriptValueId = protocol::string16FromInteger(script->GetUnboundScript()->GetId()); |
std::unique_ptr<v8::Global<v8::Script>> global(new v8::Global<v8::Script>(m_inspector->isolate(), script)); |
m_compiledScripts[scriptValueId] = std::move(global); |
*scriptId = scriptValueId; |