| Index: Source/core/clipboard/DataObjectItem.cpp
|
| diff --git a/Source/core/clipboard/DataObjectItem.cpp b/Source/core/clipboard/DataObjectItem.cpp
|
| index ea7c2e52a5eb791f3075bf08018f9227fdaf0a6d..24d696d919d006c76d3a916bb62dbdaa0402e78f 100644
|
| --- a/Source/core/clipboard/DataObjectItem.cpp
|
| +++ b/Source/core/clipboard/DataObjectItem.cpp
|
| @@ -126,7 +126,7 @@ Blob* DataObjectItem::getAsFile() const
|
| // method to the blob registry; that way the data is only copied over
|
| // into the renderer when it's actually read, not when the blob is
|
| // initially constructed).
|
| - RefPtr<SharedBuffer> data = static_cast<PassRefPtr<SharedBuffer> >(blink::Platform::current()->clipboard()->readImage(blink::WebClipboard::BufferStandard));
|
| + RefPtr<SharedBuffer> data = static_cast<PassRefPtr<SharedBuffer>>(blink::Platform::current()->clipboard()->readImage(blink::WebClipboard::BufferStandard));
|
| OwnPtr<BlobData> blobData = BlobData::create();
|
| blobData->appendBytes(data->data(), data->size());
|
| blobData->setContentType(mimeTypeImagePng);
|
|
|