Changeset 235857 in webkit
- Timestamp:
- Sep 10, 2018, 1:39:57 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
editing/Editor.h (modified) (1 diff)
-
editing/mac/EditorMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r235856 r235857 1 2018-09-10 Dan Bernstein <mitz@apple.com> 2 3 [macOS] Editor::readSelectionFromPasteboard’s MailBlockquoteHandling argument is effectively unused 4 https://bugs.webkit.org/show_bug.cgi?id=189480 5 6 Reviewed by Anders Carlsson. 7 8 No new tests, because this doesn’t change behavior. 9 10 * editing/Editor.h: Removed the MailBlockquoteHandling argument from 11 readSelectionFromPasteboard. 12 * editing/mac/EditorMac.mm: 13 (WebCore::Editor::readSelectionFromPasteboard): Don’t pass mailBlockquoteHandling to 14 pasteWithPasteboard. It was always set to RespectBlockquote, which is the latter’s 15 default. 16 1 17 2018-09-10 Andy Estes <aestes@apple.com> 2 18 -
trunk/Source/WebCore/editing/Editor.h
r235775 r235857 472 472 bool canCopyExcludingStandaloneImages(); 473 473 void takeFindStringFromSelection(); 474 WEBCORE_EXPORT void readSelectionFromPasteboard(const String& pasteboardName , MailBlockquoteHandling = MailBlockquoteHandling::RespectBlockquote);474 WEBCORE_EXPORT void readSelectionFromPasteboard(const String& pasteboardName); 475 475 WEBCORE_EXPORT void replaceNodeFromPasteboard(Node*, const String& pasteboardName); 476 476 WEBCORE_EXPORT RefPtr<SharedBuffer> dataSelectionForPasteboard(const String& pasteboardName); -
trunk/Source/WebCore/editing/mac/EditorMac.mm
r235748 r235857 119 119 } 120 120 121 void Editor::readSelectionFromPasteboard(const String& pasteboardName , MailBlockquoteHandling mailBlockquoteHandling)121 void Editor::readSelectionFromPasteboard(const String& pasteboardName) 122 122 { 123 123 Pasteboard pasteboard(pasteboardName); 124 124 if (m_frame.selection().selection().isContentRichlyEditable()) 125 pasteWithPasteboard(&pasteboard, true , mailBlockquoteHandling);125 pasteWithPasteboard(&pasteboard, true); 126 126 else 127 127 pasteAsPlainTextWithPasteboard(pasteboard);
Note:
See TracChangeset
for help on using the changeset viewer.