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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothCharacteristicProperties.cpp

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Created 3 years, 7 months 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: third_party/WebKit/Source/modules/bluetooth/BluetoothCharacteristicProperties.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothCharacteristicProperties.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothCharacteristicProperties.cpp
index da19f89c25e39dfcb8cce2679503c46829e6f221..122a864e1edb6d450ac85a5001157a244bc3ef7c 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothCharacteristicProperties.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothCharacteristicProperties.cpp
@@ -49,7 +49,7 @@ bool BluetoothCharacteristicProperties::writableAuxiliaries() const {
BluetoothCharacteristicProperties::BluetoothCharacteristicProperties(
uint32_t device_properties) {
- ASSERT(device_properties != Property::kNone);
+ DCHECK_NE(device_properties, Property::kNone);
properties = device_properties;
}

Powered by Google App Engine
This is Rietveld 408576698