<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[195564] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/195564">195564</a></dd>
<dt>Author</dt> <dd>weinig@apple.com</dd>
<dt>Date</dt> <dd>2016-01-25 15:54:57 -0800 (Mon, 25 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Roll back in <a href="http://trac.webkit.org/projects/webkit/changeset/195559">r195559</a> with a build fix.

* WebCore.xcodeproj/project.pbxproj:
* editing/cocoa/DataDetection.mm:
* platform/cocoa/DataDetectorsCoreSoftLink.mm: Added.
* platform/cocoa/DataDetectorsCoreSoftLink.h: Added.
* platform/spi/cocoa/DataDetectorsCoreSPI.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoreeditingcocoaDataDetectionmm">trunk/Source/WebCore/editing/cocoa/DataDetection.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformspicocoaDataDetectorsCoreSPIh">trunk/Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspimacDataDetectorsSPIh">trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreplatformcocoaDataDetectorsCoreSoftLinkh">trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.h</a></li>
<li><a href="#trunkSourceWebCoreplatformcocoaDataDetectorsCoreSoftLinkmm">trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (195563 => 195564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-01-25 23:44:24 UTC (rev 195563)
+++ trunk/Source/WebCore/ChangeLog        2016-01-25 23:54:57 UTC (rev 195564)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2016-01-25  Sam Weinig  &lt;sam@webkit.org&gt;
+
+        Roll back in r195559 with a build fix.
+
+        * WebCore.xcodeproj/project.pbxproj:
+        * editing/cocoa/DataDetection.mm:
+        * platform/cocoa/DataDetectorsCoreSoftLink.mm: Added.
+        * platform/cocoa/DataDetectorsCoreSoftLink.h: Added.
+        * platform/spi/cocoa/DataDetectorsCoreSPI.h:
+
</ins><span class="cx"> 2016-01-25  Commit Queue  &lt;commit-queue@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, rolling out r195559.
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (195563 => 195564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-01-25 23:44:24 UTC (rev 195563)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-01-25 23:54:57 UTC (rev 195564)
</span><span class="lines">@@ -2748,6 +2748,8 @@
</span><span class="cx">                 7C74D43818823B1900E5ED57 /* UTextProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C74D43618823B1900E5ED57 /* UTextProvider.h */; };
</span><span class="cx">                 7C74D43B1882400400E5ED57 /* UTextProviderUTF16.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C74D4391882400400E5ED57 /* UTextProviderUTF16.cpp */; };
</span><span class="cx">                 7C74D43C1882400400E5ED57 /* UTextProviderUTF16.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C74D43A1882400400E5ED57 /* UTextProviderUTF16.h */; };
</span><ins>+                7C7941E41C56C29300A4C58E /* DataDetectorsCoreSoftLink.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7C7941E21C56C29300A4C58E /* DataDetectorsCoreSoftLink.mm */; };
+                7C7941E51C56C29300A4C58E /* DataDetectorsCoreSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C7941E31C56C29300A4C58E /* DataDetectorsCoreSoftLink.h */; };
</ins><span class="cx">                 7C91A38F1B498ABE003F9EFA /* JSNodeOrString.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C91A38D1B498ABE003F9EFA /* JSNodeOrString.cpp */; };
</span><span class="cx">                 7C91A3901B498ABE003F9EFA /* JSNodeOrString.h in Headers */ = {isa = PBXBuildFile; fileRef = 7C91A38E1B498ABE003F9EFA /* JSNodeOrString.h */; };
</span><span class="cx">                 7C93F3491AA6BA5E00A98BAB /* CompiledContentExtension.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C93F3471AA6BA5E00A98BAB /* CompiledContentExtension.cpp */; };
</span><span class="lines">@@ -10297,6 +10299,8 @@
</span><span class="cx">                 7C74D43618823B1900E5ED57 /* UTextProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UTextProvider.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 7C74D4391882400400E5ED57 /* UTextProviderUTF16.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UTextProviderUTF16.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 7C74D43A1882400400E5ED57 /* UTextProviderUTF16.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UTextProviderUTF16.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                7C7941E21C56C29300A4C58E /* DataDetectorsCoreSoftLink.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DataDetectorsCoreSoftLink.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
+                7C7941E31C56C29300A4C58E /* DataDetectorsCoreSoftLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataDetectorsCoreSoftLink.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 7C91A38D1B498ABE003F9EFA /* JSNodeOrString.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSNodeOrString.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 7C91A38E1B498ABE003F9EFA /* JSNodeOrString.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSNodeOrString.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 7C93F3471AA6BA5E00A98BAB /* CompiledContentExtension.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CompiledContentExtension.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -19786,6 +19790,8 @@
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="cx">                                 A14090FA1AA51E1D0091191A /* ContentFilterUnblockHandlerCocoa.mm */,
</span><ins>+                                7C7941E21C56C29300A4C58E /* DataDetectorsCoreSoftLink.mm */,
+                                7C7941E31C56C29300A4C58E /* DataDetectorsCoreSoftLink.h */,
</ins><span class="cx">                                 5D8C4DBD1428222C0026CE72 /* DisplaySleepDisablerCocoa.cpp */,
</span><span class="cx">                                 5D8C4DBE1428222C0026CE72 /* DisplaySleepDisablerCocoa.h */,
</span><span class="cx">                                 A5C974CF11485FF10066F2AB /* KeyEventCocoa.h */,
</span><span class="lines">@@ -19810,8 +19816,8 @@
</span><span class="cx">                                 310D71931B335C9D009C7B73 /* ThemeCocoa.cpp */,
</span><span class="cx">                                 310D71941B335C9D009C7B73 /* ThemeCocoa.h */,
</span><span class="cx">                                 46DB7D561B20FE3C005651B2 /* VNodeTrackerCocoa.cpp */,
</span><ins>+                                CDC979F31C498C0900DB50D4 /* WebCoreNSErrorExtras.h */,
</ins><span class="cx">                                 CDC979F21C498C0900DB50D4 /* WebCoreNSErrorExtras.mm */,
</span><del>-                                CDC979F31C498C0900DB50D4 /* WebCoreNSErrorExtras.h */,
</del><span class="cx">                                 52131E581C4F15220033F802 /* WebVideoFullscreenInterface.h */,
</span><span class="cx">                         );
</span><span class="cx">                         path = cocoa;
</span><span class="lines">@@ -24908,6 +24914,7 @@
</span><span class="cx">                                 14D824080AF93AEB0004F057 /* ChromeClient.h in Headers */,
</span><span class="cx">                                 8348BFAC1B85729800912F36 /* ClassCollection.h in Headers */,
</span><span class="cx">                                 BCC0657E0F3CE1B700CD2D87 /* ClientRect.h in Headers */,
</span><ins>+                                7C7941E51C56C29300A4C58E /* DataDetectorsCoreSoftLink.h in Headers */,
</ins><span class="cx">                                 BCC065810F3CE1B700CD2D87 /* ClientRectList.h in Headers */,
</span><span class="cx">                                 85031B400A44EFC700F992E0 /* ClipboardEvent.h in Headers */,
</span><span class="cx">                                 FB92DF4B15FED08700994433 /* ClipPathOperation.h in Headers */,
</span><span class="lines">@@ -30830,6 +30837,7 @@
</span><span class="cx">                                 53C8298D13D8D92700DE2DEB /* RenderFlexibleBox.cpp in Sources */,
</span><span class="cx">                                 508CCA5013CF106B003151F3 /* RenderFlowThread.cpp in Sources */,
</span><span class="cx">                                 A871DED40A1530C700B12A68 /* RenderFrame.cpp in Sources */,
</span><ins>+                                7C7941E41C56C29300A4C58E /* DataDetectorsCoreSoftLink.mm in Sources */,
</ins><span class="cx">                                 0FD3080E117CF7E700A791F7 /* RenderFrameBase.cpp in Sources */,
</span><span class="cx">                                 A871DED20A1530C700B12A68 /* RenderFrameSet.cpp in Sources */,
</span><span class="cx">                                 CDEA7C851276230400B846DD /* RenderFullScreen.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingcocoaDataDetectionmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/cocoa/DataDetection.mm (195563 => 195564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/cocoa/DataDetection.mm        2016-01-25 23:44:24 UTC (rev 195563)
+++ trunk/Source/WebCore/editing/cocoa/DataDetection.mm        2016-01-25 23:54:57 UTC (rev 195564)
</span><span class="lines">@@ -28,6 +28,7 @@
</span><span class="cx"> 
</span><span class="cx"> #import &quot;Attr.h&quot;
</span><span class="cx"> #import &quot;CSSStyleDeclaration.h&quot;
</span><ins>+#import &quot;DataDetectorsCoreSoftLink.h&quot;
</ins><span class="cx"> #import &quot;DataDetectorsSPI.h&quot;
</span><span class="cx"> #import &quot;FrameView.h&quot;
</span><span class="cx"> #import &quot;HTMLAnchorElement.h&quot;
</span><span class="lines">@@ -152,30 +153,30 @@
</span><span class="cx">     if (!result)
</span><span class="cx">         return NO;
</span><span class="cx">     
</span><del>-    static NSSet *urlTypes = [[NSSet setWithObjects: (NSString *)getDDBinderHttpURLKey(), (NSString *)getDDBinderWebURLKey(), (NSString *)getDDBinderMailURLKey(), (NSString *)getDDBinderGenericURLKey(), (NSString *)getDDBinderEmailKey(), nil] retain];
-    return [urlTypes containsObject:(NSString *)DDResultGetType(result)];
</del><ins>+    static NSSet *urlTypes = [[NSSet setWithObjects: (NSString *)get_DataDetectorsCore_DDBinderHttpURLKey(), (NSString *)get_DataDetectorsCore_DDBinderWebURLKey(), (NSString *)get_DataDetectorsCore_DDBinderMailURLKey(), (NSString *)get_DataDetectorsCore_DDBinderGenericURLKey(), (NSString *)get_DataDetectorsCore_DDBinderEmailKey(), nil] retain];
+    return [urlTypes containsObject:(NSString *)softLink_DataDetectorsCore_DDResultGetType(result)];
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static NSString *constructURLStringForResult(DDResultRef currentResult, NSString *resultIdentifier, NSDate *referenceDate, NSTimeZone *referenceTimeZone, DataDetectorTypes detectionTypes)
</span><span class="cx"> {
</span><del>-    if (!DDResultHasProperties(currentResult, DDResultPropertyPassiveDisplay))
</del><ins>+    if (!softLink_DataDetectorsCore_DDResultHasProperties(currentResult, DDResultPropertyPassiveDisplay))
</ins><span class="cx">         return nil;
</span><span class="cx">     
</span><span class="cx">     DDURLifierPhoneNumberDetectionTypes phoneTypes = (detectionTypes &amp; DataDetectorTypePhoneNumber) ? DDURLifierPhoneNumberDetectionRegular : DDURLifierPhoneNumberDetectionNone;
</span><del>-    DDResultCategory category = DDResultGetCategory(currentResult);
-    CFStringRef type = DDResultGetType(currentResult);
</del><ins>+    DDResultCategory category = softLink_DataDetectorsCore_DDResultGetCategory(currentResult);
+    CFStringRef type = softLink_DataDetectorsCore_DDResultGetType(currentResult);
</ins><span class="cx">     
</span><span class="cx">     if (((detectionTypes &amp; DataDetectorTypeAddress) &amp;&amp; (DDResultCategoryAddress == category))
</span><del>-        || ((detectionTypes &amp; DataDetectorTypeTrackingNumber) &amp;&amp; (CFStringCompare(getDDBinderTrackingNumberKey(), type, 0) == kCFCompareEqualTo))
-        || ((detectionTypes &amp; DataDetectorTypeFlight) &amp;&amp; (CFStringCompare(getDDBinderFlightInformationKey(), type, 0) == kCFCompareEqualTo))
</del><ins>+        || ((detectionTypes &amp; DataDetectorTypeTrackingNumber) &amp;&amp; (CFStringCompare(get_DataDetectorsCore_DDBinderTrackingNumberKey(), type, 0) == kCFCompareEqualTo))
+        || ((detectionTypes &amp; DataDetectorTypeFlight) &amp;&amp; (CFStringCompare(get_DataDetectorsCore_DDBinderFlightInformationKey(), type, 0) == kCFCompareEqualTo))
</ins><span class="cx">         || ((detectionTypes &amp; DataDetectorTypePhoneNumber) &amp;&amp; (DDResultCategoryPhoneNumber == category))
</span><span class="cx">         || ((detectionTypes &amp; DataDetectorTypeLink) &amp;&amp; resultIsURL(currentResult))) {
</span><span class="cx">         
</span><del>-        return DDURLStringForResult(currentResult, resultIdentifier, phoneTypes, referenceDate, referenceTimeZone);
</del><ins>+        return softLink_DataDetectorsCore_DDURLStringForResult(currentResult, resultIdentifier, phoneTypes, referenceDate, referenceTimeZone);
</ins><span class="cx">     }
</span><span class="cx">     if ((detectionTypes &amp; DataDetectorTypeCalendarEvent) &amp;&amp; (DDResultCategoryCalendarEvent == category)) {
</span><del>-        if (!DDResultIsPastDate(currentResult, (CFDateRef)referenceDate, (CFTimeZoneRef)referenceTimeZone))
-            return DDURLStringForResult(currentResult, resultIdentifier, phoneTypes, referenceDate, referenceTimeZone);
</del><ins>+        if (!softLink_DataDetectorsCore_DDResultIsPastDate(currentResult, (CFDateRef)referenceDate, (CFTimeZoneRef)referenceTimeZone))
+            return softLink_DataDetectorsCore_DDURLStringForResult(currentResult, resultIdentifier, phoneTypes, referenceDate, referenceTimeZone);
</ins><span class="cx">     }
</span><span class="cx">     return nil;
</span><span class="cx"> }
</span><span class="lines">@@ -189,7 +190,7 @@
</span><span class="cx">     if (!node)
</span><span class="cx">         return;
</span><span class="cx">     
</span><del>-    BOOL nodeIsDDAnchor = is&lt;HTMLAnchorElement&gt;(*node) &amp;&amp; downcast&lt;Element&gt;(*node).getAttribute(getDDURLScheme()) == &quot;true&quot;;
</del><ins>+    BOOL nodeIsDDAnchor = is&lt;HTMLAnchorElement&gt;(*node) &amp;&amp; downcast&lt;Element&gt;(*node).getAttribute(get_DataDetectorsCore_DDURLScheme()) == &quot;true&quot;;
</ins><span class="cx">     
</span><span class="cx">     RefPtr&lt;NodeList&gt; children = node-&gt;childNodes();
</span><span class="cx">     unsigned childCount = children-&gt;length();
</span><span class="lines">@@ -218,7 +219,7 @@
</span><span class="cx">     Node *node = startNode;
</span><span class="cx">     while (node) {
</span><span class="cx">         if (is&lt;HTMLAnchorElement&gt;(*node)) {
</span><del>-            if (downcast&lt;Element&gt;(*node).getAttribute(getDDURLScheme()) != &quot;true&quot;)
</del><ins>+            if (downcast&lt;Element&gt;(*node).getAttribute(get_DataDetectorsCore_DDURLScheme()) != &quot;true&quot;)
</ins><span class="cx">                 return true;
</span><span class="cx">             removeResultLinksFromAnchor(node, node-&gt;parentElement());
</span><span class="cx">         }
</span><span class="lines">@@ -229,7 +230,7 @@
</span><span class="cx">             node = startNode-&gt;parentNode();
</span><span class="cx">             while (node) {
</span><span class="cx">                 if (is&lt;HTMLAnchorElement&gt;(*node)) {
</span><del>-                    if (downcast&lt;Element&gt;(*node).getAttribute(getDDURLScheme()) != &quot;true&quot;)
</del><ins>+                    if (downcast&lt;Element&gt;(*node).getAttribute(get_DataDetectorsCore_DDURLScheme()) != &quot;true&quot;)
</ins><span class="cx">                         return true;
</span><span class="cx">                     removeResultLinksFromAnchor(node, node-&gt;parentElement());
</span><span class="cx">                 }
</span><span class="lines">@@ -322,7 +323,7 @@
</span><span class="cx">     for (TextIterator iterator(contextRange); !iterator.atEnd(); iterator.advance(), iteratorCount++) {
</span><span class="cx">         size_t currentTextLength = iterator.text().length();
</span><span class="cx">         if (!currentTextLength) {
</span><del>-            DDScanQueryAddSeparator(scanQuery, DDTextCoalescingTypeHardBreak);
</del><ins>+            softLink_DataDetectorsCore_DDScanQueryAddSeparator(scanQuery, DDTextCoalescingTypeHardBreak);
</ins><span class="cx">             if (iteratorCount &gt; maxFragmentWithHardBreak)
</span><span class="cx">                 break;
</span><span class="cx">             continue;
</span><span class="lines">@@ -356,11 +357,11 @@
</span><span class="cx">         }
</span><span class="cx">         if (containsOnlyWhiteSpace) {
</span><span class="cx">             if (hasNewline) {
</span><del>-                DDScanQueryAddLineBreak(scanQuery);
</del><ins>+                softLink_DataDetectorsCore_DDScanQueryAddLineBreak(scanQuery);
</ins><span class="cx">                 if (iteratorCount &gt; maxFragmentWithLinebreak)
</span><span class="cx">                     break;
</span><span class="cx">             } else {
</span><del>-                DDScanQueryAddSeparator(scanQuery, hasTab ? DDTextCoalescingTypeTab : DDTextCoalescingTypeSpace);
</del><ins>+                softLink_DataDetectorsCore_DDScanQueryAddSeparator(scanQuery, hasTab ? DDTextCoalescingTypeTab : DDTextCoalescingTypeSpace);
</ins><span class="cx">                 if (iteratorCount &gt; maxFragmentSpace)
</span><span class="cx">                     break;
</span><span class="cx">             }
</span><span class="lines">@@ -368,7 +369,7 @@
</span><span class="cx">         }
</span><span class="cx">         
</span><span class="cx">         RetainPtr&lt;CFStringRef&gt; currentText = adoptCF(CFStringCreateWithCharacters(kCFAllocatorDefault, iterator.text().upconvertedCharacters(), iterator.text().length()));
</span><del>-        DDScanQueryAddTextFragment(scanQuery, currentText.get(), CFRangeMake(0, currentTextLength), (void *)iteratorCount, (DDTextFragmentMode)0, DDTextCoalescingTypeNone);
</del><ins>+        softLink_DataDetectorsCore_DDScanQueryAddTextFragment(scanQuery, currentText.get(), CFRangeMake(0, currentTextLength), (void *)iteratorCount, (DDTextFragmentMode)0, DDTextCoalescingTypeNone);
</ins><span class="cx">         fragmentCount++;
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="lines">@@ -388,15 +389,15 @@
</span><span class="cx"> 
</span><span class="cx"> NSArray *DataDetection::detectContentInRange(RefPtr&lt;Range&gt;&amp; contextRange, DataDetectorTypes types)
</span><span class="cx"> {
</span><del>-    RetainPtr&lt;DDScannerRef&gt; scanner = adoptCF(DDScannerCreate(DDScannerTypeStandard, 0, nullptr));
-    RetainPtr&lt;DDScanQueryRef&gt; scanQuery = adoptCF(DDScanQueryCreate(NULL));
</del><ins>+    RetainPtr&lt;DDScannerRef&gt; scanner = adoptCF(softLink_DataDetectorsCore_DDScannerCreate(DDScannerTypeStandard, 0, nullptr));
+    RetainPtr&lt;DDScanQueryRef&gt; scanQuery = adoptCF(softLink_DataDetectorsCore_DDScanQueryCreate(NULL));
</ins><span class="cx">     buildQuery(scanQuery.get(), contextRange.get());
</span><span class="cx">     
</span><span class="cx">     // FIXME: we should add a timeout to this call to make sure it doesn't take too much time.
</span><del>-    if (!DDScannerScanQuery(scanner.get(), scanQuery.get()))
</del><ins>+    if (!softLink_DataDetectorsCore_DDScannerScanQuery(scanner.get(), scanQuery.get()))
</ins><span class="cx">         return nil;
</span><span class="cx">     
</span><del>-    RetainPtr&lt;CFArrayRef&gt; scannerResults = adoptCF(DDScannerCopyResultsWithOptions(scanner.get(), getDDScannerCopyResultsOptionsForPassiveUse() | DDScannerCopyResultsOptionsCoalesceSignatures));
</del><ins>+    RetainPtr&lt;CFArrayRef&gt; scannerResults = adoptCF(softLink_DataDetectorsCore_DDScannerCopyResultsWithOptions(scanner.get(), get_DataDetectorsCore_DDScannerCopyResultsOptionsForPassiveUse() | DDScannerCopyResultsOptionsCoalesceSignatures));
</ins><span class="cx">     if (!scannerResults)
</span><span class="cx">         return nil;
</span><span class="cx">     
</span><span class="lines">@@ -413,8 +414,8 @@
</span><span class="cx">     for (id resultObject in (NSArray *)scannerResults.get()) {
</span><span class="cx">         DDResultRef result = (DDResultRef)resultObject;
</span><span class="cx">         NSIndexPath *indexPath = [NSIndexPath indexPathWithIndex:currentTopLevelIndex];
</span><del>-        if (CFStringCompare(DDResultGetType(result), getDDBinderSignatureBlockKey(), 0) == kCFCompareEqualTo) {
-            NSArray *subresults = (NSArray *)DDResultGetSubResults(result);
</del><ins>+        if (CFStringCompare(softLink_DataDetectorsCore_DDResultGetType(result), get_DataDetectorsCore_DDBinderSignatureBlockKey(), 0) == kCFCompareEqualTo) {
+            NSArray *subresults = (NSArray *)softLink_DataDetectorsCore_DDResultGetSubResults(result);
</ins><span class="cx">             
</span><span class="cx">             for (NSUInteger subResultIndex = 0 ; subResultIndex &lt; [subresults count] ; subResultIndex++) {
</span><span class="cx">                 indexPaths.append([indexPath indexPathByAddingIndex:subResultIndex]);
</span><span class="lines">@@ -435,8 +436,8 @@
</span><span class="cx">     // where the DOM needs to be modified.
</span><span class="cx">     // Each result can be contained all in one text node or can span multiple text nodes.
</span><span class="cx">     for (auto&amp; result : allResults) {
</span><del>-        DDQueryRange queryRange = DDResultGetQueryRangeForURLification(result.get());
-        CFIndex iteratorTargetAdvanceCount = (CFIndex)DDScanQueryGetFragmentMetaData(scanQuery.get(), queryRange.start.queryIndex);
</del><ins>+        DDQueryRange queryRange = softLink_DataDetectorsCore_DDResultGetQueryRangeForURLification(result.get());
+        CFIndex iteratorTargetAdvanceCount = (CFIndex)softLink_DataDetectorsCore_DDScanQueryGetFragmentMetaData(scanQuery.get(), queryRange.start.queryIndex);
</ins><span class="cx">         while (iteratorCount &lt; iteratorTargetAdvanceCount) {
</span><span class="cx">             iterator.advance();
</span><span class="cx">             iteratorCount++;
</span><span class="lines">@@ -452,7 +453,7 @@
</span><span class="cx">         
</span><span class="cx">         while (fragmentIndex &lt; queryRange.end.queryIndex) {
</span><span class="cx">             fragmentIndex++;
</span><del>-            iteratorTargetAdvanceCount = (CFIndex)DDScanQueryGetFragmentMetaData(scanQuery.get(), fragmentIndex);
</del><ins>+            iteratorTargetAdvanceCount = (CFIndex)softLink_DataDetectorsCore_DDScanQueryGetFragmentMetaData(scanQuery.get(), fragmentIndex);
</ins><span class="cx">             while (iteratorCount &lt; iteratorTargetAdvanceCount) {
</span><span class="cx">                 iterator.advance();
</span><span class="cx">                 iteratorCount++;
</span><span class="lines">@@ -477,7 +478,7 @@
</span><span class="cx">     
</span><span class="cx">     for (CFIndex resultIndex = 0; resultIndex &lt; resultCount; resultIndex++) {
</span><span class="cx">         DDResultRef coreResult = allResults[resultIndex].get();
</span><del>-        DDQueryRange queryRange = DDResultGetQueryRangeForURLification(coreResult);
</del><ins>+        DDQueryRange queryRange = softLink_DataDetectorsCore_DDResultGetQueryRangeForURLification(coreResult);
</ins><span class="cx">         Vector&lt;RefPtr&lt;Range&gt;&gt; resultRanges = allResultRanges[resultIndex];
</span><span class="cx"> 
</span><span class="cx">         // Compare the query offsets to make sure we don't go backwards
</span><span class="lines">@@ -532,7 +533,7 @@
</span><span class="cx">             parentNode-&gt;insertBefore(anchorElement, &amp;currentTextNode, ASSERT_NO_EXCEPTION);
</span><span class="cx">             // Add a special attribute to mark this URLification as the result of data detectors.
</span><span class="cx">             anchorElement-&gt;setAttribute(QualifiedName(nullAtom, dataDetectorsURLScheme, nullAtom), &quot;true&quot;);
</span><del>-            anchorElement-&gt;setAttribute(QualifiedName(nullAtom, dataDetectorsAttributeTypeKey, nullAtom), dataDetectorTypeForCategory(DDResultGetCategory(coreResult)));
</del><ins>+            anchorElement-&gt;setAttribute(QualifiedName(nullAtom, dataDetectorsAttributeTypeKey, nullAtom), dataDetectorTypeForCategory(softLink_DataDetectorsCore_DDResultGetCategory(coreResult)));
</ins><span class="cx">             anchorElement-&gt;setAttribute(QualifiedName(nullAtom, dataDetectorsAttributeResultKey, nullAtom), identifier);
</span><span class="cx">             contentOffset = range-&gt;endOffset();
</span><span class="cx">             
</span><span class="lines">@@ -543,7 +544,7 @@
</span><span class="cx">     if (lastTextNodeToUpdate)
</span><span class="cx">         lastTextNodeToUpdate-&gt;setData(lastNodeContent);
</span><span class="cx">     
</span><del>-    return [getDDScannerResultClass() resultsFromCoreResults:scannerResults.get()];
</del><ins>+    return [get_DataDetectorsCore_DDScannerResultClass() resultsFromCoreResults:scannerResults.get()];
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #else
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformcocoaDataDetectorsCoreSoftLinkhfromrev195559trunkSourceWebCoreplatformcocoaDataDetectorsCoreSoftLinkh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.h (from rev 195559, trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.h) (0 => 195564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.h                                (rev 0)
+++ trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.h        2016-01-25 23:54:57 UTC (rev 195564)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+/*
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef DataDetectorsCoreSoftLink_h
+#define DataDetectorsCoreSoftLink_h
+
+#include &quot;DataDetectorsCoreSPI.h&quot;
+#include &quot;SoftLinking.h&quot;
+
+#if PLATFORM(IOS)
+
+SOFT_LINK_CLASS_FOR_HEADER(WebCore, DataDetectorsCore, DDScannerResult)
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScannerCreate, DDScannerRef, (DDScannerType type, DDScannerOptions options, CFErrorRef * errorRef), (type, options, errorRef))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScannerScanQuery, Boolean, (DDScannerRef scanner, DDScanQueryRef query), (scanner, query))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScanQueryCreate, DDScanQueryRef, (CFAllocatorRef allocator), (allocator))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScannerCopyResultsWithOptions, CFArrayRef, (DDScannerRef scanner, DDScannerCopyResultsOptions options), (scanner, options))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDResultGetRange, CFRange, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDResultGetType, CFStringRef, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDResultGetCategory, DDResultCategory, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDResultIsPastDate, Boolean, (DDResultRef result, CFDateRef referenceDate, CFTimeZoneRef referenceTimeZone), (result, referenceDate, referenceTimeZone))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScanQueryAddTextFragment, void, (DDScanQueryRef query, CFStringRef fragment, CFRange range, void *identifier, DDTextFragmentMode mode, DDTextCoalescingType type), (query, fragment, range, identifier, mode, type))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScanQueryAddSeparator, void, (DDScanQueryRef query, DDTextCoalescingType type), (query, type))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScanQueryAddLineBreak, void, (DDScanQueryRef query), (query))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDScanQueryGetFragmentMetaData, void *, (DDScanQueryRef query, CFIndex queryIndex), (query, queryIndex))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDResultHasProperties, bool, (DDResultRef result, CFIndex propertySet), (result, propertySet))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDResultGetSubResults, CFArrayRef, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDResultGetQueryRangeForURLification, DDQueryRange, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, DataDetectorsCore, DDURLStringForResult, NSString *, (DDResultRef currentResult, NSString * resultIdentifier, DDURLifierPhoneNumberDetectionTypes includingTelGroups, NSDate * referenceDate, NSTimeZone * referenceTimeZone), (currentResult, resultIdentifier, includingTelGroups, referenceDate, referenceTimeZone))
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderHttpURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderWebURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderMailURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderGenericURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderEmailKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderTrackingNumberKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderFlightInformationKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDBinderSignatureBlockKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_HEADER(WebCore, DataDetectorsCore, DDURLScheme, NSString *)
+SOFT_LINK_CONSTANT_FOR_HEADER(WebCore, DataDetectorsCore, DDScannerCopyResultsOptionsForPassiveUse, DDScannerCopyResultsOptions)
+
+#endif
+
+#endif // DataDetectorsCoreSoftLink_h
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformcocoaDataDetectorsCoreSoftLinkmmfromrev195559trunkSourceWebCoreplatformcocoaDataDetectorsCoreSoftLinkmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.mm (from rev 195559, trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.mm) (0 => 195564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.mm                                (rev 0)
+++ trunk/Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.mm        2016-01-25 23:54:57 UTC (rev 195564)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+/*
+ * Copyright (C) 2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;DataDetectorsCoreSoftLink.h&quot;
+
+#if PLATFORM(IOS)
+
+SOFT_LINK_PRIVATE_FRAMEWORK_OPTIONAL(DataDetectorsCore)
+
+SOFT_LINK_CLASS_FOR_SOURCE(WebCore, DataDetectorsCore, DDScannerResult)
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScannerCreate, DDScannerRef, (DDScannerType type, DDScannerOptions options, CFErrorRef * errorRef), (type, options, errorRef))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScannerScanQuery, Boolean, (DDScannerRef scanner, DDScanQueryRef query), (scanner, query))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScanQueryCreate, DDScanQueryRef, (CFAllocatorRef allocator), (allocator))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScannerCopyResultsWithOptions, CFArrayRef, (DDScannerRef scanner, DDScannerCopyResultsOptions options), (scanner, options))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDResultGetRange, CFRange, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDResultGetType, CFStringRef, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDResultGetCategory, DDResultCategory, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDResultIsPastDate, Boolean, (DDResultRef result, CFDateRef referenceDate, CFTimeZoneRef referenceTimeZone), (result, referenceDate, referenceTimeZone))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScanQueryAddTextFragment, void, (DDScanQueryRef query, CFStringRef fragment, CFRange range, void *identifier, DDTextFragmentMode mode, DDTextCoalescingType type), (query, fragment, range, identifier, mode, type))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScanQueryAddSeparator, void, (DDScanQueryRef query, DDTextCoalescingType type), (query, type))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScanQueryAddLineBreak, void, (DDScanQueryRef query), (query))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDScanQueryGetFragmentMetaData, void *, (DDScanQueryRef query, CFIndex queryIndex), (query, queryIndex))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDResultHasProperties, bool, (DDResultRef result, CFIndex propertySet), (result, propertySet))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDResultGetSubResults, CFArrayRef, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDResultGetQueryRangeForURLification, DDQueryRange, (DDResultRef result), (result))
+SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, DataDetectorsCore, DDURLStringForResult, NSString *, (DDResultRef currentResult, NSString * resultIdentifier, DDURLifierPhoneNumberDetectionTypes includingTelGroups, NSDate * referenceDate, NSTimeZone * referenceTimeZone), (currentResult, resultIdentifier, includingTelGroups, referenceDate, referenceTimeZone))
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderHttpURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderWebURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderMailURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderGenericURLKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderEmailKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderTrackingNumberKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderFlightInformationKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDBinderSignatureBlockKey, CFStringRef)
+SOFT_LINK_POINTER_FOR_SOURCE(WebCore, DataDetectorsCore, DDURLScheme, NSString *)
+SOFT_LINK_CONSTANT_FOR_SOURCE(WebCore, DataDetectorsCore, DDScannerCopyResultsOptionsForPassiveUse, DDScannerCopyResultsOptions)
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformspicocoaDataDetectorsCoreSPIh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h (195563 => 195564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h        2016-01-25 23:44:24 UTC (rev 195563)
+++ trunk/Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h        2016-01-25 23:54:57 UTC (rev 195564)
</span><span class="lines">@@ -23,7 +23,8 @@
</span><span class="cx">  * THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#import &quot;SoftLinking.h&quot;
</del><ins>+#ifndef DataDetectorsCoreSPI_h
+#define DataDetectorsCoreSPI_h
</ins><span class="cx"> 
</span><span class="cx"> #if USE(APPLE_INTERNAL_SDK)
</span><span class="cx"> 
</span><span class="lines">@@ -132,35 +133,6 @@
</span><span class="cx"> CFArrayRef DDResultGetSubResults(DDResultRef);
</span><span class="cx"> DDQueryRange DDResultGetQueryRangeForURLification(DDResultRef);
</span><span class="cx"> 
</span><del>-#if PLATFORM(IOS)
-SOFT_LINK_PRIVATE_FRAMEWORK_OPTIONAL(DataDetectorsCore)
-SOFT_LINK_CLASS(DataDetectorsCore, DDScannerResult)
-SOFT_LINK(DataDetectorsCore, DDScannerCreate, DDScannerRef, (DDScannerType type, DDScannerOptions options, CFErrorRef * errorRef), (type, options, errorRef))
-SOFT_LINK(DataDetectorsCore, DDScannerScanQuery, Boolean, (DDScannerRef scanner, DDScanQueryRef query), (scanner, query))
-SOFT_LINK(DataDetectorsCore, DDScanQueryCreate, DDScanQueryRef, (CFAllocatorRef allocator), (allocator))
-SOFT_LINK(DataDetectorsCore, DDScannerCopyResultsWithOptions, CFArrayRef, (DDScannerRef scanner, DDScannerCopyResultsOptions options), (scanner, options))
-SOFT_LINK(DataDetectorsCore, DDResultGetRange, CFRange, (DDResultRef result), (result))
-SOFT_LINK(DataDetectorsCore, DDResultGetType, CFStringRef, (DDResultRef result), (result))
-SOFT_LINK(DataDetectorsCore, DDResultGetCategory, DDResultCategory, (DDResultRef result), (result))
-SOFT_LINK(DataDetectorsCore, DDResultIsPastDate, Boolean, (DDResultRef result, CFDateRef referenceDate, CFTimeZoneRef referenceTimeZone), (result, referenceDate, referenceTimeZone))
-SOFT_LINK(DataDetectorsCore, DDScanQueryAddTextFragment, void, (DDScanQueryRef query, CFStringRef fragment, CFRange range, void *identifier, DDTextFragmentMode mode, DDTextCoalescingType type), (query, fragment, range, identifier, mode, type))
-SOFT_LINK(DataDetectorsCore, DDScanQueryAddSeparator, void, (DDScanQueryRef query, DDTextCoalescingType type), (query, type))
-SOFT_LINK(DataDetectorsCore, DDScanQueryAddLineBreak, void, (DDScanQueryRef query), (query))
-SOFT_LINK(DataDetectorsCore, DDScanQueryGetFragmentMetaData, void *, (DDScanQueryRef query, CFIndex queryIndex), (query, queryIndex))
-SOFT_LINK(DataDetectorsCore, DDResultHasProperties, bool, (DDResultRef result, CFIndex propertySet), (result, propertySet))
-SOFT_LINK(DataDetectorsCore, DDResultGetSubResults, CFArrayRef, (DDResultRef result), (result))
-SOFT_LINK(DataDetectorsCore, DDResultGetQueryRangeForURLification, DDQueryRange, (DDResultRef result), (result))
-SOFT_LINK(DataDetectorsCore, DDURLStringForResult, NSString *, (DDResultRef currentResult, NSString * resultIdentifier, DDURLifierPhoneNumberDetectionTypes includingTelGroups, NSDate * referenceDate, NSTimeZone * referenceTimeZone), (currentResult, resultIdentifier, includingTelGroups, referenceDate, referenceTimeZone))
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderHttpURLKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderWebURLKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderMailURLKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderGenericURLKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderEmailKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderTrackingNumberKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderFlightInformationKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDBinderSignatureBlockKey, CFStringRef)
-SOFT_LINK_POINTER(DataDetectorsCore, DDURLScheme, NSString *)
-SOFT_LINK_CONSTANT(DataDetectorsCore, DDScannerCopyResultsOptionsForPassiveUse, DDScannerCopyResultsOptions)
-#endif
-
</del><span class="cx"> }
</span><ins>+
+#endif // DataDetectorsCoreSPI_h
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformspimacDataDetectorsSPIh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h (195563 => 195564)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h        2016-01-25 23:44:24 UTC (rev 195563)
+++ trunk/Source/WebCore/platform/spi/mac/DataDetectorsSPI.h        2016-01-25 23:54:57 UTC (rev 195564)
</span><span class="lines">@@ -23,9 +23,11 @@
</span><span class="cx">  * THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><ins>+#ifndef DataDetectorsSPI_h
+#define DataDetectorsSPI_h
+
</ins><span class="cx"> #import &lt;wtf/Platform.h&gt;
</span><span class="cx"> 
</span><del>-
</del><span class="cx"> #import &lt;WebCore/DataDetectorsCoreSPI.h&gt;
</span><span class="cx"> #import &lt;WebCore/SoftLinking.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -109,3 +111,5 @@
</span><span class="cx"> SOFT_LINK(DataDetectors, DDHighlightPointIsOnHighlight, Boolean, (DDHighlightRef highlight, CGPoint point, Boolean* onButton), (highlight, point, onButton))
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><ins>+
+#endif // DataDetectorsSPI_h
</ins></span></pre>
</div>
</div>

</body>
</html>