Title: [258529] trunk/Source/WebKit
- Revision
- 258529
- Author
- [email protected]
- Date
- 2020-03-16 16:56:49 -0700 (Mon, 16 Mar 2020)
Log Message
Fix the macCatalyst build after r258525
* WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.mm:
(WebKit::TextCheckingControllerProxy::annotatedSubstringBetweenPositions):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (258528 => 258529)
--- trunk/Source/WebKit/ChangeLog 2020-03-16 23:34:37 UTC (rev 258528)
+++ trunk/Source/WebKit/ChangeLog 2020-03-16 23:56:49 UTC (rev 258529)
@@ -1,3 +1,10 @@
+2020-03-16 Tim Horton <[email protected]>
+
+ Fix the macCatalyst build after r258525
+
+ * WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.mm:
+ (WebKit::TextCheckingControllerProxy::annotatedSubstringBetweenPositions):
+
2020-03-15 Darin Adler <[email protected]>
Move most of TextIterator off of live ranges
Modified: trunk/Source/WebKit/WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.mm (258528 => 258529)
--- trunk/Source/WebKit/WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.mm 2020-03-16 23:34:37 UTC (rev 258528)
+++ trunk/Source/WebKit/WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.mm 2020-03-16 23:56:49 UTC (rev 258529)
@@ -185,7 +185,7 @@
size_t entireRangeLength;
TextIterator::getLocationAndLengthFromRange(commonAncestor.get(), entireRange.get(), entireRangeLocation, entireRangeLength);
- for (TextIterator it(start.deepEquivalent(), end.deepEquivalent()); !it.atEnd(); it.advance()) {
+ for (TextIterator it({ *makeBoundaryPoint(start.deepEquivalent()), *makeBoundaryPoint(end.deepEquivalent()) }); !it.atEnd(); it.advance()) {
int currentTextLength = it.text().length();
if (!currentTextLength)
continue;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes