Implement checked cast for DDResultRef once DDResultGetTypeID() is available
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2018 16:28:33 +0000 (16:28 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2018 16:28:33 +0000 (16:28 +0000)
commitd5e16b30f759b450712eea809d3b40d5542fdd73
tree8a6692e0dcdacefbdef4f1583bf20327ec05f584
parent3d65b949b7274aaadd4d5abd8281ae5e8b3cec6f
Implement checked cast for DDResultRef once DDResultGetTypeID() is available
<https://webkit.org/b/184554>
<rdar://problem/36241894>

Reviewed by Brent Fulgham.

* editing/cocoa/DataDetection.mm:
(WebCore::detectItemAtPositionWithRange): Implement checked cast
for DDResultRef.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/editing/cocoa/DataDetection.mm