Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Unified Diff: webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc

Issue 2787263003: Delete all log messages depending on system_wrappers. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « webrtc/modules/desktop_capture/x11/shared_x_display.cc ('k') | webrtc/modules/utility/source/process_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698