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

Unified Diff: content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.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/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
index 9367ee9b8bef4152e7026dfe6d48b5554bee07ee..d53b12b8812cf8ea806313a956aab8ed35b66297 100644
--- a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
+++ b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
@@ -87,9 +87,9 @@ class LayoutTestBluetoothChooserFactory::Chooser : public BluetoothChooser {
private:
void CheckFactory() const {
- CHECK(factory_) << "The factory should cancel all choosers in its "
- "destructor, and choosers should be destroyed "
- "synchronously when canceled.";
+ // The factory should cancel all choosers in its destructor, and choosers
+ // should be destroyed synchronously when canceled.
+ CHECK(factory_);
}
base::WeakPtr<LayoutTestBluetoothChooserFactory> factory_;

Powered by Google App Engine
This is Rietveld 408576698