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

Unified Diff: device/usb/usb_device_impl.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: device/usb/usb_device_impl.cc
diff --git a/device/usb/usb_device_impl.cc b/device/usb/usb_device_impl.cc
index 5d153c09453541dc204c88a529ad1c9eb69ba15f..9c522ef418ebd5b6b68b997f87792921c9685c06 100644
--- a/device/usb/usb_device_impl.cc
+++ b/device/usb/usb_device_impl.cc
@@ -45,7 +45,8 @@ UsbDeviceImpl::UsbDeviceImpl(
context_(context),
task_runner_(base::ThreadTaskRunnerHandle::Get()),
blocking_task_runner_(blocking_task_runner) {
- CHECK(platform_device) << "platform_device cannot be NULL";
+ // platform_device cannot be NULL
+ CHECK(platform_device);
libusb_ref_device(platform_device);
ReadAllConfigurations();
RefreshActiveConfiguration();

Powered by Google App Engine
This is Rietveld 408576698