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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransfer.cpp

Issue 2883353002: Replace ASSERT with DCHECK_LE/GE/GT/LT/NE as appropriate (Closed)
Patch Set: DCHECK in BluetoothCharacteristicProperties.cpp 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/core/clipboard/DataTransfer.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp
index 4a9232872ad78139e64744c2c21025501f09045c..17e594029e9a4086bb9cad75ef71833679ed45be 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp
@@ -380,7 +380,7 @@ bool DataTransfer::CanSetDragImage() const {
DragOperation DataTransfer::SourceOperation() const {
DragOperation op = ConvertEffectAllowedToDragOperation(effect_allowed_);
- ASSERT(op != kDragOperationPrivate);
+ DCHECK_NE(op, kDragOperationPrivate);
return op;
}

Powered by Google App Engine
This is Rietveld 408576698