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

Unified Diff: ios/chrome/browser/bookmarks/bookmarks_utils.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: ios/chrome/browser/bookmarks/bookmarks_utils.cc
diff --git a/ios/chrome/browser/bookmarks/bookmarks_utils.cc b/ios/chrome/browser/bookmarks/bookmarks_utils.cc
index a7ece33186c047547a51343b61d6793d414e3911..b2c3a8f8e461c66d7dfa5c87d6b1d32312189b80 100644
--- a/ios/chrome/browser/bookmarks/bookmarks_utils.cc
+++ b/ios/chrome/browser/bookmarks/bookmarks_utils.cc
@@ -34,8 +34,8 @@ bool RemoveAllUserBookmarksIOS(ios::ChromeBrowserState* browser_state) {
if (!bookmark_model->client()->CanBeEditedByUser(
bookmark_model->root_node()->GetChild(i)))
continue;
- CHECK(bookmark_model->root_node()->GetChild(i)->empty())
- << "Failed to remove all user bookmarks.";
+ // Failed to remove all user bookmarks.
+ CHECK(bookmark_model->root_node()->GetChild(i)->empty());
}
// The default save folder is reset to the generic one.

Powered by Google App Engine
This is Rietveld 408576698