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 17e594029e9a4086bb9cad75ef71833679ed45be..c0e335f7a7f8234807ffbe243a70ea060dab7a1f 100644 |
--- a/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
+++ b/third_party/WebKit/Source/core/clipboard/DataTransfer.cpp |
@@ -355,7 +355,7 @@ void DataTransfer::WriteSelection(const FrameSelection& selection) { |
void DataTransfer::SetAccessPolicy(DataTransferAccessPolicy policy) { |
// once you go numb, can never go back |
- ASSERT(policy_ != kDataTransferNumb || policy == kDataTransferNumb); |
+ DCHECK(policy_ != kDataTransferNumb || policy == kDataTransferNumb); |
policy_ = policy; |
} |
@@ -386,7 +386,7 @@ DragOperation DataTransfer::SourceOperation() const { |
DragOperation DataTransfer::DestinationOperation() const { |
DragOperation op = ConvertEffectAllowedToDragOperation(drop_effect_); |
- ASSERT(op == kDragOperationCopy || op == kDragOperationNone || |
+ DCHECK(op == kDragOperationCopy || op == kDragOperationNone || |
op == kDragOperationLink || |
op == (DragOperation)(kDragOperationGeneric | kDragOperationMove) || |
op == kDragOperationEvery); |