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

Unified Diff: base/test/scoped_path_override.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: base/test/scoped_path_override.cc
diff --git a/base/test/scoped_path_override.cc b/base/test/scoped_path_override.cc
index b8cfd4a22a14543853aa25d85c093ff4024051f3..9626fc810923c41465607d756bf3fa1969538599 100644
--- a/base/test/scoped_path_override.cc
+++ b/base/test/scoped_path_override.cc
@@ -34,7 +34,8 @@ ScopedPathOverride::ScopedPathOverride(int key,
ScopedPathOverride::~ScopedPathOverride() {
bool result = PathService::RemoveOverride(key_);
- CHECK(result) << "The override seems to have been removed already!";
+ // The override seems to have been removed already!
+ CHECK(result);
}
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698