| Index: third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp
|
| diff --git a/third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp b/third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp
|
| index 785d4a52974a6d32d5d7450799830512559d7957..25a6b890cbb4b670ff7daf65edb71566a2a5ff94 100644
|
| --- a/third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp
|
| +++ b/third_party/WebKit/Source/core/clipboard/DataObjectItem.cpp
|
| @@ -125,7 +125,7 @@ File* DataObjectItem::GetAsFile() const {
|
| return nullptr;
|
| }
|
|
|
| - ASSERT(source_ == kPasteboardSource);
|
| + DCHECK_EQ(source_, kPasteboardSource);
|
| if (GetType() == kMimeTypeImagePng) {
|
| WebBlobInfo blob_info = Platform::Current()->Clipboard()->ReadImage(
|
| WebClipboard::kBufferStandard);
|
| @@ -141,12 +141,12 @@ File* DataObjectItem::GetAsFile() const {
|
| }
|
|
|
| String DataObjectItem::GetAsString() const {
|
| - ASSERT(kind_ == kStringKind);
|
| + DCHECK_EQ(kind_, kStringKind);
|
|
|
| if (source_ == kInternalSource)
|
| return data_;
|
|
|
| - ASSERT(source_ == kPasteboardSource);
|
| + DCHECK_EQ(source_, kPasteboardSource);
|
|
|
| WebClipboard::Buffer buffer = Pasteboard::GeneralPasteboard()->GetBuffer();
|
| String data;
|
|
|