Title: [264317] trunk/Source/WebKit
- Revision
- 264317
- Author
- ryanhad...@apple.com
- Date
- 2020-07-13 14:12:39 -0700 (Mon, 13 Jul 2020)
Log Message
Remove live ranges from Document.h, AlternativeTextController.h, DictionaryLookup.h, and WebPage.h
https://bugs.webkit.org/show_bug.cgi?id=214109
Unreviewed Catalyst build fix.
* WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::dictionaryPopupInfoForRange):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (264316 => 264317)
--- trunk/Source/WebKit/ChangeLog 2020-07-13 21:07:55 UTC (rev 264316)
+++ trunk/Source/WebKit/ChangeLog 2020-07-13 21:12:39 UTC (rev 264317)
@@ -1,3 +1,13 @@
+2020-07-13 Ryan Haddad <ryanhad...@apple.com>
+
+ Remove live ranges from Document.h, AlternativeTextController.h, DictionaryLookup.h, and WebPage.h
+ https://bugs.webkit.org/show_bug.cgi?id=214109
+
+ Unreviewed Catalyst build fix.
+
+ * WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
+ (WebKit::WebPage::dictionaryPopupInfoForRange):
+
2020-07-13 Kate Cheney <katherine_che...@apple.com>
Followup to bug 213143: Add artificial delay to WebSocket connections to mitigate port scanning attacks
Modified: trunk/Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm (264316 => 264317)
--- trunk/Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm 2020-07-13 21:07:55 UTC (rev 264316)
+++ trunk/Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm 2020-07-13 21:12:39 UTC (rev 264317)
@@ -204,7 +204,7 @@
#if PLATFORM(MAC)
dictionaryPopupInfo.attributedString = scaledAttributedString;
#elif PLATFORM(MACCATALYST)
- dictionaryPopupInfo.attributedString = adoptNS([[NSMutableAttributedString alloc] initWithString:range.text()]);
+ dictionaryPopupInfo.attributedString = adoptNS([[NSMutableAttributedString alloc] initWithString:plainText(range)]);
#endif
editor.setIsGettingDictionaryPopupInfo(false);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes