Title: [151621] trunk/Source/WebCore
- Revision
- 151621
- Author
- [email protected]
- Date
- 2013-06-16 08:06:30 -0700 (Sun, 16 Jun 2013)
Log Message
Try to fix iOS after last Pasteboard change.
* platform/ios/PasteboardIOS.mm:
(WebCore::Pasteboard::writeSelection): Put the new code inline here because the
stringSelectionForPasteboard function is currently Mac-only.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (151620 => 151621)
--- trunk/Source/WebCore/ChangeLog 2013-06-16 02:21:24 UTC (rev 151620)
+++ trunk/Source/WebCore/ChangeLog 2013-06-16 15:06:30 UTC (rev 151621)
@@ -1,5 +1,13 @@
2013-06-15 Darin Adler <[email protected]>
+ Try to fix iOS after last Pasteboard change.
+
+ * platform/ios/PasteboardIOS.mm:
+ (WebCore::Pasteboard::writeSelection): Put the new code inline here because the
+ stringSelectionForPasteboard function is currently Mac-only.
+
+2013-06-15 Darin Adler <[email protected]>
+
Move Pasteboard::getStringSelection to Editor, fixing a layering violation
https://bugs.webkit.org/show_bug.cgi?id=117673
Modified: trunk/Source/WebCore/platform/ios/PasteboardIOS.mm (151620 => 151621)
--- trunk/Source/WebCore/platform/ios/PasteboardIOS.mm 2013-06-16 02:21:24 UTC (rev 151620)
+++ trunk/Source/WebCore/platform/ios/PasteboardIOS.mm 2013-06-16 15:06:30 UTC (rev 151621)
@@ -153,8 +153,8 @@
// Put plain string on the pasteboard.
String text = shouldSerializeSelectedTextForClipboard == IncludeImageAltTextForClipboard
- ? frame->editor().stringSelectionForPasteboardWithImageAltText()
- : frame->editor().stringSelectionForPasteboard();
+ ? frame->editor().selectedTextForClipboard() : frame->editor().selectedText();
+ text.replace(noBreakSpace, ' ');
[representations.get() setValue:text forKey:(NSString *)kUTTypeText];
frame->editor().client()->writeDataToPasteboard(representations.get());
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes