Changeset 260766 in webkit


Ignore:
Timestamp:
Apr 27, 2020 10:56:07 AM (4 years ago)
Author:
Darin Adler
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.
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r260765 r260766  
     12020-04-27  Darin Adler  <darin@apple.com>
     2
     3        Another try at fixing the ENABLE(PLATFORM_DRIVEN_TEXT_CHECKING) build
     4
     5        * UIProcess/Cocoa/TextCheckingController.mm:
     6        (WebKit::TextCheckingController::replaceRelativeToSelection):
     7        Convert an NSAttributedString to a WebCore::AttributedString using
     8        argument list syntax.
     9
    1102020-04-27  Alex Christensen  <achristensen@webkit.org>
    211
  • trunk/Source/WebKit/UIProcess/Cocoa/TextCheckingController.mm

    r260739 r260766  
    4444        return;
    4545
    46     m_page.process().send(Messages::TextCheckingControllerProxy::ReplaceRelativeToSelection(annotatedString, selectionOffset, length, relativeReplacementLocation, relativeReplacementLength), m_page.webPageID());
     46    m_page.process().send(Messages::TextCheckingControllerProxy::ReplaceRelativeToSelection({ annotatedString, nil }, selectionOffset, length, relativeReplacementLocation, relativeReplacementLength), m_page.webPageID());
    4747}
    4848
Note: See TracChangeset for help on using the changeset viewer.