Index: Source/core/clipboard/DataTransfer.cpp |
diff --git a/Source/core/clipboard/DataTransfer.cpp b/Source/core/clipboard/DataTransfer.cpp |
index 3cc37393dde1d195594aeda52385c85f2ebab1f9..e806f66f01bc670d239c0d6d1a30e5bb3b2bee06 100644 |
--- a/Source/core/clipboard/DataTransfer.cpp |
+++ b/Source/core/clipboard/DataTransfer.cpp |
@@ -331,7 +331,7 @@ void DataTransfer::declareAndWriteDragImage(Element* element, const KURL& url, c |
writeImageToDataObject(m_dataObject.get(), element, url); |
// Put img tag on the clipboard referencing the image |
- m_dataObject->setData(mimeTypeTextHTML, createMarkup(element, IncludeNode, 0, ResolveAllURLs)); |
+ m_dataObject->setData(mimeTypeTextHTML, createMarkup(element, IncludeNode, ResolveAllURLs)); |
} |
void DataTransfer::writeURL(const KURL& url, const String& title) |
@@ -355,7 +355,7 @@ void DataTransfer::writeRange(Range* selectedRange, LocalFrame* frame) |
if (!m_dataObject) |
return; |
- m_dataObject->setHTMLAndBaseURL(createMarkup(selectedRange, 0, AnnotateForInterchange, false, ResolveNonLocalURLs), frame->document()->url()); |
+ m_dataObject->setHTMLAndBaseURL(createMarkup(selectedRange, AnnotateForInterchange, false, ResolveNonLocalURLs), frame->document()->url()); |
String str = frame->selectedTextForClipboard(); |
#if OS(WIN) |