[webkit-changes] [WebKit/WebKit] c3eeb7: Cherry-pick 68b73575a9aa. rdar://103217701

Alan Coon noreply at github.com
Mon Dec 12 10:18:48 PST 2022


  Branch: refs/heads/safari-7615.1.14-branch
  Home:   https://github.com/WebKit/WebKit
  Commit: c3eeb7554a44e8af09a6f9a04201eb453a7a55f0
      https://github.com/WebKit/WebKit/commit/c3eeb7554a44e8af09a6f9a04201eb453a7a55f0
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M Source/WebCore/editing/cocoa/DataDetection.mm

  Log Message:
  -----------
  Cherry-pick 68b73575a9aa. rdar://103217701

    DataDetection.mm fails to build with newer clang when initializing DDQueryOffset
    https://bugs.webkit.org/show_bug.cgi?id=249078
    <rdar://problem/103217701>

    Unreviewed build fix.

    Use designated initializers to fix this warning:

        DataDetection.mm:549:53: error: missing field 'offset' initializer [-Werror,-Wmissing-field-initializers]

    * Source/WebCore/editing/cocoa/DataDetection.mm:
    (WebCore::DataDetection::detectContentInRange):
    - Switch to using designated initializers for DDQueryOffset.

    Canonical link: https://commits.webkit.org/257687@main

Canonical link: https://commits.webkit.org/257350.15@safari-7615.1.14-branch




More information about the webkit-changes mailing list