Unreviewed, rolling out r234489.
[WebKit-https.git] / Source / WebCore / platform / mediastream / gstreamer / GStreamerVideoCaptureSource.cpp
index 7438e9a..5a9dfb5 100644 (file)
@@ -70,7 +70,7 @@ CaptureSourceOrError GStreamerVideoCaptureSource::create(const String& deviceID,
 {
     auto device = GStreamerVideoCaptureDeviceManager::singleton().gstreamerDeviceWithUID(deviceID);
     if (!device) {
-        auto errorMessage = String::deprecatedFormat("GStreamerVideoCaptureSource::create(): GStreamer did not find the device: %s.", deviceID.utf8().data());
+        auto errorMessage = String::format("GStreamerVideoCaptureSource::create(): GStreamer did not find the device: %s.", deviceID.utf8().data());
         return CaptureSourceOrError(WTFMove(errorMessage));
     }