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

Unified Diff: components/sync/syncable/directory.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: components/sync/syncable/directory.cc
diff --git a/components/sync/syncable/directory.cc b/components/sync/syncable/directory.cc
index ba417e757a4f322bddbcaa6f6e08ebda9df30b1e..ca372b43f0d29648851a3675b4bf848d4e1c6cef 100644
--- a/components/sync/syncable/directory.cc
+++ b/components/sync/syncable/directory.cc
@@ -1500,7 +1500,7 @@ void Directory::PutPredecessor(EntryKernel* e, EntryKernel* predecessor) {
// without valid positions. See TODO above.
// Using a release CHECK here because the following UniquePosition::Between
// call crashes anyway when the position string is empty (see crbug/332371).
- CHECK(successor->ref(UNIQUE_POSITION).IsValid()) << *successor;
+ CHECK(successor->ref(UNIQUE_POSITION).IsValid());
// Finally, the normal case: inserting between two elements.
UniquePosition pos =

Powered by Google App Engine
This is Rietveld 408576698