<!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>[196239] trunk/Source</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/196239">196239</a></dd>
<dt>Author</dt> <dd>mitz@apple.com</dd>
<dt>Date</dt> <dd>2016-02-07 10:44:25 -0800 (Sun, 07 Feb 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>[Cocoa] Replace __has_include guards around inclusion of Apple-internal-SDK headers with USE(APPLE_INTERNAL_SDK)
https://bugs.webkit.org/show_bug.cgi?id=153963

Reviewed by Sam Weinig.

Source/JavaScriptCore:

* inspector/remote/RemoteInspectorXPCConnection.mm:

Source/WebCore:

* accessibility/mac/AXObjectCacheMac.mm:
* crypto/CommonCryptoUtilities.cpp:
* crypto/CommonCryptoUtilities.h:
* editing/mac/TextUndoInsertionMarkupMac.h:
* editing/mac/TextUndoInsertionMarkupMac.mm:
* platform/cocoa/TelephoneNumberDetectorCocoa.cpp:
* platform/graphics/cg/ImageSourceCG.cpp:
* platform/graphics/mac/PDFDocumentImageMac.mm:
* platform/network/ios/NetworkStateNotifierIOS.mm:
* platform/network/mac/BlobDataFileReferenceMac.mm:
* platform/network/mac/ResourceHandleMac.mm:
* rendering/RenderThemeMac.mm:

Source/WebKit/mac:

* WebView/WebPDFView.mm:

Source/WTF:

* wtf/SystemTracing.h:
* wtf/WTFThreadData.h:
* wtf/spi/darwin/CommonCryptoSPI.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorremoteRemoteInspectorXPCConnectionmm">trunk/Source/JavaScriptCore/inspector/remote/RemoteInspectorXPCConnection.mm</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfSystemTracingh">trunk/Source/WTF/wtf/SystemTracing.h</a></li>
<li><a href="#trunkSourceWTFwtfWTFThreadDatah">trunk/Source/WTF/wtf/WTFThreadData.h</a></li>
<li><a href="#trunkSourceWTFwtfspidarwinCommonCryptoSPIh">trunk/Source/WTF/wtf/spi/darwin/CommonCryptoSPI.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilitymacAXObjectCacheMacmm">trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm</a></li>
<li><a href="#trunkSourceWebCorecryptoCommonCryptoUtilitiescpp">trunk/Source/WebCore/crypto/CommonCryptoUtilities.cpp</a></li>
<li><a href="#trunkSourceWebCorecryptoCommonCryptoUtilitiesh">trunk/Source/WebCore/crypto/CommonCryptoUtilities.h</a></li>
<li><a href="#trunkSourceWebCoreeditingmacTextUndoInsertionMarkupMach">trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.h</a></li>
<li><a href="#trunkSourceWebCoreeditingmacTextUndoInsertionMarkupMacmm">trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformcocoaTelephoneNumberDetectorCocoacpp">trunk/Source/WebCore/platform/cocoa/TelephoneNumberDetectorCocoa.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscgImageSourceCGcpp">trunk/Source/WebCore/platform/graphics/cg/ImageSourceCG.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsmacPDFDocumentImageMacmm">trunk/Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformnetworkiosNetworkStateNotifierIOSmm">trunk/Source/WebCore/platform/network/ios/NetworkStateNotifierIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformnetworkmacBlobDataFileReferenceMacmm">trunk/Source/WebCore/platform/network/mac/BlobDataFileReferenceMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformnetworkmacResourceHandleMacmm">trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderThemeMacmm">trunk/Source/WebCore/rendering/RenderThemeMac.mm</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPDFViewmm">trunk/Source/WebKit/mac/WebView/WebPDFView.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/JavaScriptCore/ChangeLog        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2016-02-07  Dan Bernstein  &lt;mitz@apple.com&gt;
+
+        [Cocoa] Replace __has_include guards around inclusion of Apple-internal-SDK headers with USE(APPLE_INTERNAL_SDK)
+        https://bugs.webkit.org/show_bug.cgi?id=153963
+
+        Reviewed by Sam Weinig.
+
+        * inspector/remote/RemoteInspectorXPCConnection.mm:
+
</ins><span class="cx"> 2016-02-06  Filip Pizlo  &lt;fpizlo@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         FTL must store the call site index before runtime calls, even if it's the tail call slow path
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorremoteRemoteInspectorXPCConnectionmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/inspector/remote/RemoteInspectorXPCConnection.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/remote/RemoteInspectorXPCConnection.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/JavaScriptCore/inspector/remote/RemoteInspectorXPCConnection.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> #import &lt;wtf/spi/cocoa/SecuritySPI.h&gt;
</span><span class="cx"> #import &lt;wtf/spi/darwin/XPCSPI.h&gt;
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;CoreFoundation/CFXPCBridge.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;CoreFoundation/CFXPCBridge.h&gt;
</span><span class="cx"> #else
</span><span class="cx"> extern &quot;C&quot; {
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WTF/ChangeLog        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2016-02-07  Dan Bernstein  &lt;mitz@apple.com&gt;
+
+        [Cocoa] Replace __has_include guards around inclusion of Apple-internal-SDK headers with USE(APPLE_INTERNAL_SDK)
+        https://bugs.webkit.org/show_bug.cgi?id=153963
+
+        Reviewed by Sam Weinig.
+
+        * wtf/SystemTracing.h:
+        * wtf/WTFThreadData.h:
+        * wtf/spi/darwin/CommonCryptoSPI.h:
+
</ins><span class="cx"> 2016-02-06  Darin Adler  &lt;darin@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
</span></span></pre></div>
<a id="trunkSourceWTFwtfSystemTracingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/SystemTracing.h (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/SystemTracing.h        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WTF/wtf/SystemTracing.h        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -26,12 +26,10 @@
</span><span class="cx"> #ifndef SystemTracing_h
</span><span class="cx"> #define SystemTracing_h
</span><span class="cx"> 
</span><del>-#if defined(__has_include)
-#if __has_include(&lt;System/sys/kdebug.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;System/sys/kdebug.h&gt;
</span><span class="cx"> #define HAVE_KDEBUG_H 1
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> // No namespaces because this file has to be includable from C and Objective-C.
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWTFwtfWTFThreadDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/WTFThreadData.h (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/WTFThreadData.h        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WTF/wtf/WTFThreadData.h        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -34,11 +34,9 @@
</span><span class="cx"> #include &lt;wtf/StackStats.h&gt;
</span><span class="cx"> #include &lt;wtf/text/StringHash.h&gt;
</span><span class="cx"> 
</span><del>-#if OS(DARWIN)
-#if defined(__has_include) &amp;&amp; __has_include(&lt;System/pthread_machdep.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;System/pthread_machdep.h&gt;
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> #if defined(__PTK_FRAMEWORK_JAVASCRIPTCORE_KEY1)
</span><span class="cx"> #define USE_PTHREAD_GETSPECIFIC_DIRECT 1
</span></span></pre></div>
<a id="trunkSourceWTFwtfspidarwinCommonCryptoSPIh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/spi/darwin/CommonCryptoSPI.h (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/spi/darwin/CommonCryptoSPI.h        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WTF/wtf/spi/darwin/CommonCryptoSPI.h        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -28,11 +28,9 @@
</span><span class="cx"> 
</span><span class="cx"> #if OS(DARWIN)
</span><span class="cx"> 
</span><del>-#if defined(__has_include)
-#if __has_include(&lt;CommonCrypto/CommonRandomSPI.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;CommonCrypto/CommonRandomSPI.h&gt;
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> typedef struct __CCRandom* CCRandomRef;
</span><span class="cx"> extern const CCRandomRef kCCRandomDefault;
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/ChangeLog        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2016-02-07  Dan Bernstein  &lt;mitz@apple.com&gt;
+
+        [Cocoa] Replace __has_include guards around inclusion of Apple-internal-SDK headers with USE(APPLE_INTERNAL_SDK)
+        https://bugs.webkit.org/show_bug.cgi?id=153963
+
+        Reviewed by Sam Weinig.
+
+        * accessibility/mac/AXObjectCacheMac.mm:
+        * crypto/CommonCryptoUtilities.cpp:
+        * crypto/CommonCryptoUtilities.h:
+        * editing/mac/TextUndoInsertionMarkupMac.h:
+        * editing/mac/TextUndoInsertionMarkupMac.mm:
+        * platform/cocoa/TelephoneNumberDetectorCocoa.cpp:
+        * platform/graphics/cg/ImageSourceCG.cpp:
+        * platform/graphics/mac/PDFDocumentImageMac.mm:
+        * platform/network/ios/NetworkStateNotifierIOS.mm:
+        * platform/network/mac/BlobDataFileReferenceMac.mm:
+        * platform/network/mac/ResourceHandleMac.mm:
+        * rendering/RenderThemeMac.mm:
+
</ins><span class="cx"> 2016-02-07  Carlos Garcia Campos  &lt;cgarcia@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         REGRESSION(r195661): [GTK] Scrollbar tests crashing after overlay scrollbar groundwork
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilitymacAXObjectCacheMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx"> #import &quot;WebAccessibilityObjectWrapperMac.h&quot;
</span><span class="cx"> #import &quot;WebCoreSystemInterface.h&quot;
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;HIServices/AccessibilityPriv.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;HIServices/AccessibilityPriv.h&gt;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorecryptoCommonCryptoUtilitiescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/crypto/CommonCryptoUtilities.cpp (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/crypto/CommonCryptoUtilities.cpp        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/crypto/CommonCryptoUtilities.cpp        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -28,11 +28,9 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(SUBTLE_CRYPTO)
</span><span class="cx"> 
</span><del>-#if defined(__has_include)
-#if __has_include(&lt;CommonCrypto/CommonBigNum.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;CommonCrypto/CommonBigNum.h&gt;
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> typedef CCCryptorStatus CCStatus;
</span><span class="cx"> extern &quot;C&quot; CCBigNumRef CCBigNumFromData(CCStatus *status, const void *s, size_t len);
</span></span></pre></div>
<a id="trunkSourceWebCorecryptoCommonCryptoUtilitiesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/crypto/CommonCryptoUtilities.h (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/crypto/CommonCryptoUtilities.h        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/crypto/CommonCryptoUtilities.h        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -32,17 +32,10 @@
</span><span class="cx"> #include &lt;CommonCrypto/CommonCryptor.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><del>-#if defined(__has_include)
-#if __has_include(&lt;CommonCrypto/CommonRSACryptor.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;CommonCrypto/CommonRSACryptor.h&gt;
</span><del>-#endif
-#endif
-
-#if defined(__has_include) &amp;&amp; PLATFORM(COCOA)
-#if __has_include(&lt;CommonCrypto/CommonRandomSPI.h&gt;)
</del><span class="cx"> #include &lt;CommonCrypto/CommonRandomSPI.h&gt;
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> #ifndef _CC_RSACRYPTOR_H_
</span><span class="cx"> enum {
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingmacTextUndoInsertionMarkupMach"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.h (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.h        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.h        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if USE(INSERTION_UNDO_GROUPING)
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;AppKit/NSTextInputContext_Private.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;AppKit/NSTextInputContext_Private.h&gt;
</span><span class="cx"> #else
</span><span class="cx"> extern &quot;C&quot; NSString *NSTextInsertionUndoableAttributeName;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingmacTextUndoInsertionMarkupMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/editing/mac/TextUndoInsertionMarkupMac.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx"> #import &quot;config.h&quot;
</span><span class="cx"> #import &quot;TextUndoInsertionMarkupMac.h&quot;
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;Foundation/NSUndoManager_Private.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;Foundation/NSUndoManager_Private.h&gt;
</span><span class="cx"> #else
</span><span class="cx"> @interface NSUndoManager (WebCorePrivate)
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformcocoaTelephoneNumberDetectorCocoacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/cocoa/TelephoneNumberDetectorCocoa.cpp (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/cocoa/TelephoneNumberDetectorCocoa.cpp        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/platform/cocoa/TelephoneNumberDetectorCocoa.cpp        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;SoftLinking.h&quot;
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;DataDetectorsCore/DDDFAScanner.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;DataDetectorsCore/DDDFAScanner.h&gt;
</span><span class="cx"> #else
</span><span class="cx"> typedef struct __DDDFAScanner DDDFAScanner, * DDDFAScannerRef;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscgImageSourceCGcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/cg/ImageSourceCG.cpp (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/cg/ImageSourceCG.cpp        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/platform/graphics/cg/ImageSourceCG.cpp        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> #include &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;ImageIO/CGImageSourcePrivate.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;ImageIO/CGImageSourcePrivate.h&gt;
</span><span class="cx"> #else
</span><span class="cx"> const CFStringRef kCGImageSourceSubsampleFactor = CFSTR(&quot;kCGImageSourceSubsampleFactor&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsmacPDFDocumentImageMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -35,11 +35,9 @@
</span><span class="cx"> #import &lt;objc/objc-class.h&gt;
</span><span class="cx"> #import &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> 
</span><del>-#ifdef __has_include
-#if __has_include(&lt;ApplicationServices/ApplicationServicesPriv.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;ApplicationServices/ApplicationServicesPriv.h&gt;
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> SOFT_LINK_FRAMEWORK_IN_UMBRELLA(Quartz, PDFKit)
</span><span class="cx"> SOFT_LINK_CLASS(PDFKit, PDFDocument)
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformnetworkiosNetworkStateNotifierIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/network/ios/NetworkStateNotifierIOS.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/network/ios/NetworkStateNotifierIOS.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/platform/network/ios/NetworkStateNotifierIOS.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> #import &quot;SoftLinking.h&quot;
</span><span class="cx"> #import &quot;WebCoreThreadRun.h&quot;
</span><span class="cx"> 
</span><del>-#if defined(__has_include) &amp;&amp; __has_include(&lt;AppSupport/CPNetworkObserver.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;AppSupport/CPNetworkObserver.h&gt;
</span><span class="cx"> #else
</span><span class="cx"> extern NSString * const CPNetworkObserverReachable;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformnetworkmacBlobDataFileReferenceMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/network/mac/BlobDataFileReferenceMac.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/network/mac/BlobDataFileReferenceMac.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/platform/network/mac/BlobDataFileReferenceMac.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -32,11 +32,9 @@
</span><span class="cx"> #include &quot;SoftLinking.h&quot;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="cx"> 
</span><del>-#if defined(__has_include)
-#if __has_include(&lt;Bom/BOMCopier.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #include &lt;Bom/BOMCopier.h&gt;
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> typedef struct _BOMCopier* BOMCopier;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformnetworkmacResourceHandleMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx"> #import &lt;wtf/text/CString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if USE(CFNETWORK)
</span><del>-#if __has_include(&lt;CFNetwork/CFURLConnectionPriv.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;CFNetwork/CFURLConnectionPriv.h&gt;
</span><span class="cx"> #endif
</span><span class="cx"> typedef struct _CFURLConnection* CFURLConnectionRef;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderThemeMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderThemeMac.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderThemeMac.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebCore/rendering/RenderThemeMac.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -92,15 +92,11 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(SERVICE_CONTROLS) &amp;&amp; HAVE(APPKIT_SERVICE_CONTROLS_SUPPORT)
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;AppKit/AppKitDefines_Private.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;AppKit/AppKitDefines_Private.h&gt;
</span><del>-#else
-#define APPKIT_PRIVATE_CLASS
-#endif
-
-#if __has_include(&lt;AppKit/NSServicesRolloverButtonCell.h&gt;)
</del><span class="cx"> #import &lt;AppKit/NSServicesRolloverButtonCell.h&gt;
</span><span class="cx"> #else
</span><ins>+#define APPKIT_PRIVATE_CLASS
</ins><span class="cx"> @interface NSServicesRolloverButtonCell : NSButtonCell
</span><span class="cx"> @end
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebKit/mac/ChangeLog        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2016-02-07  Dan Bernstein  &lt;mitz@apple.com&gt;
+
+        [Cocoa] Replace __has_include guards around inclusion of Apple-internal-SDK headers with USE(APPLE_INTERNAL_SDK)
+        https://bugs.webkit.org/show_bug.cgi?id=153963
+
+        Reviewed by Sam Weinig.
+
+        * WebView/WebPDFView.mm:
+
</ins><span class="cx"> 2016-02-06  Darin Adler  &lt;darin@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Finish auditing call sites of upper() and lower(), eliminate many, and rename the functions
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPDFViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPDFView.mm (196238 => 196239)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPDFView.mm        2016-02-07 10:09:31 UTC (rev 196238)
+++ trunk/Source/WebKit/mac/WebView/WebPDFView.mm        2016-02-07 18:44:25 UTC (rev 196239)
</span><span class="lines">@@ -67,11 +67,9 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;PDFKit/PDFKit.h&gt;
</span><span class="cx"> 
</span><del>-#ifdef __has_include
-#if __has_include(&lt;ApplicationServices/ApplicationServicesPriv.h&gt;)
</del><ins>+#if USE(APPLE_INTERNAL_SDK)
</ins><span class="cx"> #import &lt;ApplicationServices/ApplicationServicesPriv.h&gt;
</span><span class="cx"> #endif
</span><del>-#endif
</del><span class="cx"> 
</span><span class="cx"> extern &quot;C&quot; {
</span><span class="cx">     bool CGContextGetAllowsFontSmoothing(CGContextRef context);
</span></span></pre>
</div>
</div>

</body>
</html>