Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Unified Diff: Source/core/clipboard/DataTransfer.cpp

Issue 792003002: Remove unused nodes argument to createMarkup() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/editing/CompositeEditCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | Source/core/editing/CompositeEditCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698