| 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 88f2e9a181d44b768a0c693e846cda61c9e8e623..a60fa8b245c75106dfe3b992d61aae6e18059ed7 100644
|
| --- a/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| +++ b/third_party/WebKit/Source/core/clipboard/DataObject.cpp
|
| @@ -217,6 +217,7 @@ void DataObject::addSharedBuffer(const String& name, PassRefPtr<SharedBuffer> bu
|
|
|
| DataObject::DataObject()
|
| : m_modifiers(0)
|
| + , m_canReadContent(true)
|
| {
|
| }
|
|
|
| @@ -289,6 +290,8 @@ DataObject* DataObject::create(WebDragData data)
|
|
|
| if (!data.filesystemId().isNull())
|
| DraggedIsolatedFileSystem::prepareForDataObject(dataObject, data.filesystemId());
|
| +
|
| + dataObject->m_canReadContent = data.canReadContent();
|
| return dataObject;
|
| }
|
|
|
| @@ -341,6 +344,7 @@ WebDragData DataObject::toWebDragData()
|
| itemList[i] = item;
|
| }
|
| data.swapItems(itemList);
|
| + data.setCanReadContent(m_canReadContent);
|
| return data;
|
| }
|
|
|
|
|