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

Unified Diff: content/common/sandbox_mac.mm

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/common/sandbox_mac.mm
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm
index 9994f45136f3b244104e39ad990abda67b9ad8e7..a0de131d8d2cfae184bf700af6421e44ce725b0f 100644
--- a/content/common/sandbox_mac.mm
+++ b/content/common/sandbox_mac.mm
@@ -381,7 +381,8 @@ NSString* LoadSandboxTemplate(int sandbox_type) {
bool sandbox_type_found =
GetContentClient()->GetSandboxProfileForSandboxType(
sandbox_type, &sandbox_profile_resource_id);
- CHECK(sandbox_type_found) << "Unknown sandbox type " << sandbox_type;
+ // Unknown sandbox type |sandbox_type|
+ CHECK(sandbox_type_found);
}
base::StringPiece sandbox_definition =

Powered by Google App Engine
This is Rietveld 408576698