diff options
Diffstat (limited to 'content/browser/renderer_host/media/desktop_capture_device.cc')
-rw-r--r-- | content/browser/renderer_host/media/desktop_capture_device.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/browser/renderer_host/media/desktop_capture_device.cc b/content/browser/renderer_host/media/desktop_capture_device.cc index 74ecd80..4c84918 100644 --- a/content/browser/renderer_host/media/desktop_capture_device.cc +++ b/content/browser/renderer_host/media/desktop_capture_device.cc @@ -165,9 +165,8 @@ void DesktopCaptureDevice::Core::OnCaptureCompleted( capture_in_progress_ = false; if (!frame) { - std::string log("Failed to capture a frame."); - LOG(ERROR) << log; - client_->OnError(log); + LOG(ERROR) << "Failed to capture a frame."; + client_->OnError(); return; } |