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

Unified Diff: ui/events/devices/device_data_manager.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: ui/events/devices/device_data_manager.cc
diff --git a/ui/events/devices/device_data_manager.cc b/ui/events/devices/device_data_manager.cc
index 38a184cf91c40a18ddfa533b055dac5aba3fa4b9..40966e6fed28a036ac9d9bb5c6bd6d1023ba5f7d 100644
--- a/ui/events/devices/device_data_manager.cc
+++ b/ui/events/devices/device_data_manager.cc
@@ -81,7 +81,8 @@ void DeviceDataManager::DeleteInstance() {
// static
DeviceDataManager* DeviceDataManager::GetInstance() {
- CHECK(instance_) << "DeviceDataManager was not created.";
+ // DeviceDataManager was not created.
+ CHECK(instance_);
return instance_;
}

Powered by Google App Engine
This is Rietveld 408576698