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

Unified Diff: content/browser/renderer_host/render_sandbox_host_linux.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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: content/browser/renderer_host/render_sandbox_host_linux.cc
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc
index c973342e0c135d0080ba56686af8299eef75905e..cb039b572f3e28df455e1add260f1e86e97dee9a 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
@@ -37,12 +37,14 @@ void RenderSandboxHostLinux::Init() {
renderer_socket_ = fds[0];
// The SandboxIPC client is not expected to read from |renderer_socket_|.
// Instead, it reads from a temporary socket sent with the request.
- PCHECK(0 == shutdown(renderer_socket_, SHUT_RD)) << "shutdown";
+ // shutdown
+ CHECK(0 == shutdown(renderer_socket_, SHUT_RD));
const int browser_socket = fds[1];
// The SandboxIPC handler is not expected to write to |browser_socket|.
// Instead, it replies on a temporary socket provided by the caller.
- PCHECK(0 == shutdown(browser_socket, SHUT_WR)) << "shutdown";
+ // shutdown
+ CHECK(0 == shutdown(browser_socket, SHUT_WR));
int pipefds[2];
CHECK(0 == pipe(pipefds));

Powered by Google App Engine
This is Rietveld 408576698