Index: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp |
index 57712a9c107439879c99a6ba3c8e568b08a92d4e..0f99b619d92e5011da562e3bb73600e8dbe59238 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp |
@@ -61,7 +61,7 @@ std::unique_ptr<protocol::Profiler::CPUProfileNode> buildInspectorObjectFor(v8:: |
std::unique_ptr<protocol::Runtime::CallFrame> callFrame = protocol::Runtime::CallFrame::create() |
.setFunctionName(toProtocolString(node->GetFunctionName())) |
- .setScriptId(String16::fromInteger(node->GetScriptId())) |
+ .setScriptId(protocol::string16FromInteger(node->GetScriptId())) |
.setUrl(toProtocolString(node->GetScriptResourceName())) |
.setLineNumber(node->GetLineNumber() - 1) |
.setColumnNumber(node->GetColumnNumber() - 1) |
@@ -281,7 +281,7 @@ void V8ProfilerAgentImpl::stop(ErrorString* errorString, std::unique_ptr<protoco |
String16 V8ProfilerAgentImpl::nextProfileId() |
{ |
- return String16::fromInteger(atomicIncrement(&s_lastProfileId)); |
+ return protocol::string16FromInteger(atomicIncrement(&s_lastProfileId)); |
} |
void V8ProfilerAgentImpl::startProfiling(const String16& title) |