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

Unified Diff: content/browser/webui/web_ui_mojo_browsertest.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/webui/web_ui_mojo_browsertest.cc
diff --git a/content/browser/webui/web_ui_mojo_browsertest.cc b/content/browser/webui/web_ui_mojo_browsertest.cc
index e47d4e70dc20f44c369dd4404883823e88b86d38..332af5d4e5ecd7c73ab127e4af41ca67ecc34f26 100644
--- a/content/browser/webui/web_ui_mojo_browsertest.cc
+++ b/content/browser/webui/web_ui_mojo_browsertest.cc
@@ -59,13 +59,12 @@ bool GetResource(const std::string& id,
std::string contents;
if (base::EndsWith(id, ".mojom", base::CompareCase::SENSITIVE)) {
- CHECK(base::ReadFileToString(GetFilePathForJSResource(id), &contents))
- << id;
+ CHECK(base::ReadFileToString(GetFilePathForJSResource(id), &contents));
} else {
base::FilePath path;
CHECK(base::PathService::Get(content::DIR_TEST_DATA, &path));
path = path.AppendASCII(id.substr(0, id.find("?")));
- CHECK(base::ReadFileToString(path, &contents)) << path.value();
+ CHECK(base::ReadFileToString(path, &contents));
}
base::RefCountedString* ref_contents = new base::RefCountedString;

Powered by Google App Engine
This is Rietveld 408576698