Title: [260766] trunk/Source/WebKit
- Revision
- 260766
- Author
- [email protected]
- Date
- 2020-04-27 10:56:07 -0700 (Mon, 27 Apr 2020)
Log Message
Another try at fixing the ENABLE(PLATFORM_DRIVEN_TEXT_CHECKING) build
* UIProcess/Cocoa/TextCheckingController.mm:
(WebKit::TextCheckingController::replaceRelativeToSelection):
Convert an NSAttributedString to a WebCore::AttributedString using
argument list syntax.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (260765 => 260766)
--- trunk/Source/WebKit/ChangeLog 2020-04-27 17:42:03 UTC (rev 260765)
+++ trunk/Source/WebKit/ChangeLog 2020-04-27 17:56:07 UTC (rev 260766)
@@ -1,3 +1,12 @@
+2020-04-27 Darin Adler <[email protected]>
+
+ Another try at fixing the ENABLE(PLATFORM_DRIVEN_TEXT_CHECKING) build
+
+ * UIProcess/Cocoa/TextCheckingController.mm:
+ (WebKit::TextCheckingController::replaceRelativeToSelection):
+ Convert an NSAttributedString to a WebCore::AttributedString using
+ argument list syntax.
+
2020-04-27 Alex Christensen <[email protected]>
Fix assertion after r260709
Modified: trunk/Source/WebKit/UIProcess/Cocoa/TextCheckingController.mm (260765 => 260766)
--- trunk/Source/WebKit/UIProcess/Cocoa/TextCheckingController.mm 2020-04-27 17:42:03 UTC (rev 260765)
+++ trunk/Source/WebKit/UIProcess/Cocoa/TextCheckingController.mm 2020-04-27 17:56:07 UTC (rev 260766)
@@ -43,7 +43,7 @@
if (!m_page.hasRunningProcess())
return;
- m_page.process().send(Messages::TextCheckingControllerProxy::ReplaceRelativeToSelection(annotatedString, selectionOffset, length, relativeReplacementLocation, relativeReplacementLength), m_page.webPageID());
+ m_page.process().send(Messages::TextCheckingControllerProxy::ReplaceRelativeToSelection({ annotatedString, nil }, selectionOffset, length, relativeReplacementLocation, relativeReplacementLength), m_page.webPageID());
}
void TextCheckingController::removeAnnotationRelativeToSelection(NSString *annotationName, int64_t selectionOffset, uint64_t length)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes