Build fix after r236612.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2018 22:12:07 +0000 (22:12 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Sep 2018 22:12:07 +0000 (22:12 +0000)
* platform/win/PasteboardWin.cpp:
(WebCore::Pasteboard::writeSelection):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236616 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/win/PasteboardWin.cpp

index eeb62df..580ca8d 100644 (file)
@@ -1,3 +1,10 @@
+2018-09-28  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Build fix after r236612.
+
+        * platform/win/PasteboardWin.cpp:
+        (WebCore::Pasteboard::writeSelection):
+
 2018-09-28  Andy Estes  <aestes@apple.com>
 
         [Apple Pay] Remove the "in-store" button type
index ad6cb99..1f5c408 100644 (file)
@@ -469,7 +469,7 @@ void Pasteboard::writeSelection(Range& selectedRange, bool canSmartCopyOrDelete,
     // Put CF_HTML format on the pasteboard 
     if (::OpenClipboard(m_owner)) {
         Vector<char> data;
-        markupToCFHTML(createMarkup(selectedRange, nullptr, AnnotateForInterchange::Yes),
+        markupToCFHTML(serializePreservingVisualAppearance(selectedRange, nullptr, AnnotateForInterchange::Yes),
             selectedRange.startContainer().document().url().string(), data);
         HGLOBAL cbData = createGlobalData(data);
         if (!::SetClipboardData(HTMLClipboardFormat, cbData))