| Index: third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/clipboard/DataObject.cpp b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| index e21fadfdadf89efad825ecd15c9a9f71492b0ff4..480e775cbb1b1fceb3fb0315b2f471605f8905c7 100644
|
| --- a/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| +++ b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| @@ -248,7 +248,7 @@ DataObjectItem* DataObject::FindStringItem(const String& type) const {
|
| }
|
|
|
| bool DataObject::InternalAddStringItem(DataObjectItem* item) {
|
| - ASSERT(item->Kind() == DataObjectItem::kStringKind);
|
| + DCHECK_EQ(item->Kind(), DataObjectItem::kStringKind);
|
| for (size_t i = 0; i < item_list_.size(); ++i) {
|
| if (item_list_[i]->Kind() == DataObjectItem::kStringKind &&
|
| item_list_[i]->GetType() == item->GetType())
|
| @@ -260,7 +260,7 @@ bool DataObject::InternalAddStringItem(DataObjectItem* item) {
|
| }
|
|
|
| void DataObject::InternalAddFileItem(DataObjectItem* item) {
|
| - ASSERT(item->Kind() == DataObjectItem::kFileKind);
|
| + DCHECK_EQ(item->Kind(), DataObjectItem::kFileKind);
|
| item_list_.push_back(item);
|
| }
|
|
|
|
|