| Index: webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc
|
| diff --git a/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc b/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc
|
| index ce23847cd6e7119e18789c06ba09fd04631abdc0..b4c64906549acc5f64101bdecb3bc535ab739b96 100644
|
| --- a/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc
|
| +++ b/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc
|
| @@ -16,7 +16,6 @@
|
|
|
| #include "webrtc/modules/desktop_capture/desktop_frame.h"
|
| #include "webrtc/modules/desktop_capture/x11/x_error_trap.h"
|
| -#include "webrtc/system_wrappers/include/logging.h"
|
|
|
| namespace {
|
|
|
| @@ -150,18 +149,13 @@ void XServerPixelBuffer::InitShm(const XWindowAttributes& attributes) {
|
| if (error_trap.GetLastErrorAndDisable() != 0)
|
| using_shm = false;
|
| if (using_shm) {
|
| - LOG(LS_VERBOSE) << "Using X shared memory segment "
|
| - << shm_segment_info_->shmid;
|
| }
|
| }
|
| } else {
|
| - LOG(LS_WARNING) << "Failed to get shared memory segment. "
|
| - "Performance may be degraded.";
|
| }
|
| }
|
|
|
| if (!using_shm) {
|
| - LOG(LS_WARNING) << "Not using shared memory. Performance may be degraded.";
|
| ReleaseSharedMemorySegment();
|
| return;
|
| }
|
| @@ -171,10 +165,6 @@ void XServerPixelBuffer::InitShm(const XWindowAttributes& attributes) {
|
|
|
| shmctl(shm_segment_info_->shmid, IPC_RMID, 0);
|
| shm_segment_info_->shmid = -1;
|
| -
|
| - LOG(LS_VERBOSE) << "Using X shared memory extension v"
|
| - << major << "." << minor
|
| - << " with" << (have_pixmaps ? "" : "out") << " pixmaps.";
|
| }
|
|
|
| bool XServerPixelBuffer::InitPixmaps(int depth) {
|
|
|