| Index: webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc
|
| diff --git a/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc b/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc
|
| index eeccecb6cccfccc03ad729386c6e2273a5beec02..0412c7b424f9b89d889f71f1a01313da32dd44d9 100644
|
| --- a/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc
|
| +++ b/webrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc
|
| @@ -12,7 +12,6 @@
|
|
|
| #include "webrtc/modules/desktop_capture/mac/desktop_configuration.h"
|
| #include "webrtc/system_wrappers/include/event_wrapper.h"
|
| -#include "webrtc/system_wrappers/include/logging.h"
|
|
|
| namespace webrtc {
|
|
|
| @@ -25,7 +24,6 @@ DesktopConfigurationMonitor::DesktopConfigurationMonitor()
|
| CGError err = CGDisplayRegisterReconfigurationCallback(
|
| DesktopConfigurationMonitor::DisplaysReconfiguredCallback, this);
|
| if (err != kCGErrorSuccess) {
|
| - LOG(LS_ERROR) << "CGDisplayRegisterReconfigurationCallback " << err;
|
| abort();
|
| }
|
| display_configuration_capture_event_->Set();
|
| @@ -38,13 +36,12 @@ DesktopConfigurationMonitor::~DesktopConfigurationMonitor() {
|
| CGError err = CGDisplayRemoveReconfigurationCallback(
|
| DesktopConfigurationMonitor::DisplaysReconfiguredCallback, this);
|
| if (err != kCGErrorSuccess)
|
| - LOG(LS_ERROR) << "CGDisplayRemoveReconfigurationCallback " << err;
|
| + ;
|
| }
|
|
|
| void DesktopConfigurationMonitor::Lock() {
|
| if (!display_configuration_capture_event_->Wait(
|
| kDisplayConfigurationEventTimeoutMs)) {
|
| - LOG_F(LS_ERROR) << "Event wait timed out.";
|
| abort();
|
| }
|
| }
|
| @@ -73,7 +70,6 @@ void DesktopConfigurationMonitor::DisplaysReconfigured(
|
| // from accessing display memory until the reconfiguration completes.
|
| if (!display_configuration_capture_event_->Wait(
|
| kDisplayConfigurationEventTimeoutMs)) {
|
| - LOG_F(LS_ERROR) << "Event wait timed out.";
|
| abort();
|
| }
|
| }
|
|
|