Unreviewed, rolling out r234489.
[WebKit-https.git] / Source / WebKit / Shared / WebMemorySampler.cpp
index 209c713..f6c792c 100644 (file)
@@ -143,7 +143,7 @@ void WebMemorySampler::initializeSandboxedLogFile(SandboxExtension::Handle&& sam
 
 void WebMemorySampler::writeHeaders()
 {
-    String processDetails = String::deprecatedFormat("Process: %s Pid: %d\n", processName().utf8().data(), getCurrentProcessID());
+    String processDetails = String::format("Process: %s Pid: %d\n", processName().utf8().data(), getCurrentProcessID());
 
     CString utf8String = processDetails.utf8();
     FileSystem::writeToFile(m_sampleLogFile, utf8String.data(), utf8String.length());