<!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>[191903] 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/191903">191903</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2015-11-02 11:55:27 -0800 (Mon, 02 Nov 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Unreviewed, rolling out <a href="http://trac.webkit.org/projects/webkit/changeset/191902">r191902</a>.
https://bugs.webkit.org/show_bug.cgi?id=150811

This change broke iOS builders (Requested by ryanhaddad on
#webkit).

Reverted changeset:

&quot;Replace iOS-only WebKitSystemInterface calls with SPI&quot;
https://bugs.webkit.org/show_bug.cgi?id=150763
http://trac.webkit.org/changeset/191902</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="#trunkSourceWebCoreconfigh">trunk/Source/WebCore/config.h</a></li>
<li><a href="#trunkSourceWebCorecssMediaQueryEvaluatorcpp">trunk/Source/WebCore/css/MediaQueryEvaluator.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMediaElementcpp">trunk/Source/WebCore/html/HTMLMediaElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLObjectElementcpp">trunk/Source/WebCore/html/HTMLObjectElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLVideoElementcpp">trunk/Source/WebCore/html/HTMLVideoElement.cpp</a></li>
<li><a href="#trunkSourceWebCorepageNavigatorBasecpp">trunk/Source/WebCore/page/NavigatorBase.cpp</a></li>
<li><a href="#trunkSourceWebCorepageSettingsh">trunk/Source/WebCore/page/Settings.h</a></li>
<li><a href="#trunkSourceWebCorepageViewportConfigurationcpp">trunk/Source/WebCore/page/ViewportConfiguration.cpp</a></li>
<li><a href="#trunkSourceWebCorepageiosUserAgentIOSmm">trunk/Source/WebCore/page/ios/UserAgentIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformPlatformScreenh">trunk/Source/WebCore/platform/PlatformScreen.h</a></li>
<li><a href="#trunkSourceWebCoreplatformiosPlatformScreenIOSmm">trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformiosWebCoreSystemInterfaceIOSmm">trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformiosWebVideoFullscreenInterfaceAVKith">trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h</a></li>
<li><a href="#trunkSourceWebCoreplatformiosWebVideoFullscreenInterfaceAVKitmm">trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformioswakWAKWindowmm">trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformioswakWKGraphicsmm">trunk/Source/WebCore/platform/ios/wak/WKGraphics.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmacWebCoreSystemInterfaceh">trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspicocoaDynamicLinkerSPIh">trunk/Source/WebCore/platform/spi/cocoa/DynamicLinkerSPI.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspiiosMobileGestaltSPIh">trunk/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderThemeIOSmm">trunk/Source/WebCore/rendering/RenderThemeIOS.mm</a></li>
<li><a href="#trunkSourceWebKitiosChangeLog">trunk/Source/WebKit/ios/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitiosMiscWebUIKitSupportmm">trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm</a></li>
<li><a href="#trunkSourceWebKitiosWebCoreSupportWebChromeClientIOSmm">trunk/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebSystemInterfacemm">trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebPreferencesmm">trunk/Source/WebKit/mac/WebView/WebPreferences.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2SharedWebPreferencesDefinitionsh">trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h</a></li>
<li><a href="#trunkSourceWebKit2SharedWebPreferencesStorecpp">trunk/Source/WebKit2/Shared/WebPreferencesStore.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessiosWKContentViewmm">trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessiosWKContentViewInteractionmm">trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessiosWebPageProxyIOSmm">trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportmacWebSystemInterfacemm">trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm">trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorepagemacSettingsMacmm">trunk/Source/WebCore/page/mac/SettingsMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformiosWebCoreSystemInterfaceIOSh">trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspiiosUIColorSPIh">trunk/Source/WebCore/platform/spi/ios/UIColorSPI.h</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorepagecocoaSettingsCocoamm">trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformiosDevicecpp">trunk/Source/WebCore/platform/ios/Device.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformiosDeviceh">trunk/Source/WebCore/platform/ios/Device.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspiiosUIKitSPIh">trunk/Source/WebCore/platform/spi/ios/UIKitSPI.h</a></li>
<li>trunk/Source/WebKit2/Platform/ios/</li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/ChangeLog        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-11-02  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r191902.
+        https://bugs.webkit.org/show_bug.cgi?id=150811
+
+        This change broke iOS builders (Requested by ryanhaddad on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Replace iOS-only WebKitSystemInterface calls with SPI&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=150763
+        http://trac.webkit.org/changeset/191902
+
</ins><span class="cx"> 2015-10-31  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Replace iOS-only WebKitSystemInterface calls with SPI
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1359,6 +1359,7 @@
</span><span class="cx">                 31DEA4551B39F4D900F77178 /* WebSystemBackdropLayer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 31DEA4531B39F4D900F77178 /* WebSystemBackdropLayer.mm */; };
</span><span class="cx">                 31DEA4561B39F4D900F77178 /* WebSystemBackdropLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 31DEA4541B39F4D900F77178 /* WebSystemBackdropLayer.h */; };
</span><span class="cx">                 31DF63571AF187DD0078FD91 /* NSColorSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 31DF63561AF187DD0078FD91 /* NSColorSPI.h */; };
</span><ins>+                31DF63591AF194F00078FD91 /* UIColorSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 31DF63581AF194F00078FD91 /* UIColorSPI.h */; };
</ins><span class="cx">                 31EAF97E121435A400E7C1BF /* DeviceMotionClientIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 31EAF97C121435A400E7C1BF /* DeviceMotionClientIOS.h */; };
</span><span class="cx">                 31EAF97F121435A400E7C1BF /* DeviceMotionClientIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 31EAF97D121435A400E7C1BF /* DeviceMotionClientIOS.mm */; };
</span><span class="cx">                 31EC1E2814FF60EE00C94662 /* JSNotificationPermissionCallback.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 31EC1E2614FF60EE00C94662 /* JSNotificationPermissionCallback.cpp */; };
</span><span class="lines">@@ -1674,6 +1675,7 @@
</span><span class="cx">                 44A28AAF12DFB8BF00AE923B /* MathMLNames.h in Headers */ = {isa = PBXBuildFile; fileRef = 44A28AAE12DFB8BF00AE923B /* MathMLNames.h */; };
</span><span class="cx">                 44C363F00FAA7BB30097F8CC /* RuntimeApplicationChecksIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 44C363EE0FAA7BB30097F8CC /* RuntimeApplicationChecksIOS.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 44C363F10FAA7BB30097F8CC /* RuntimeApplicationChecksIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 44C363EF0FAA7BB30097F8CC /* RuntimeApplicationChecksIOS.mm */; };
</span><ins>+                44C3CFE81556BE5D00013609 /* WebCoreSystemInterfaceIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 44C3CFE71556BE5D00013609 /* WebCoreSystemInterfaceIOS.h */; settings = {ATTRIBUTES = (Private, ); }; };
</ins><span class="cx">                 44C991820F3D1E0D00586670 /* ScrollbarThemeIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 44C991810F3D1E0D00586670 /* ScrollbarThemeIOS.mm */; };
</span><span class="cx">                 44C991860F3D1EBE00586670 /* ScrollbarThemeIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 44C991850F3D1EBE00586670 /* ScrollbarThemeIOS.h */; };
</span><span class="cx">                 44C9919F0F3D210E00586670 /* ThemeIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 44C9919D0F3D210E00586670 /* ThemeIOS.h */; };
</span><span class="lines">@@ -4027,7 +4029,6 @@
</span><span class="cx">                 A14978711ABAF3A500CEF7E4 /* PlatformContentFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = A14978701ABAF3A500CEF7E4 /* PlatformContentFilter.h */; };
</span><span class="cx">                 A17C81220F2A5CF7005DAAEB /* HTMLElementFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A17C81200F2A5CF7005DAAEB /* HTMLElementFactory.cpp */; };
</span><span class="cx">                 A17C81230F2A5CF7005DAAEB /* HTMLElementFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = A17C81210F2A5CF7005DAAEB /* HTMLElementFactory.h */; };
</span><del>-                A182D5B71BE722670087A7CC /* SettingsCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = A182D5B61BE722620087A7CC /* SettingsCocoa.mm */; };
</del><span class="cx">                 A18890AE1AA13F250026C301 /* ParentalControlsContentFilter.mm in Sources */ = {isa = PBXBuildFile; fileRef = A18890AC1AA13F250026C301 /* ParentalControlsContentFilter.mm */; };
</span><span class="cx">                 A18890AF1AA13F250026C301 /* ParentalControlsContentFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = A18890AD1AA13F250026C301 /* ParentalControlsContentFilter.h */; };
</span><span class="cx">                 A19AEA211AAA808600B52B25 /* JSMockContentFilterSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = A19AEA1E1AAA806E00B52B25 /* JSMockContentFilterSettings.h */; };
</span><span class="lines">@@ -4053,9 +4054,6 @@
</span><span class="cx">                 A1E1154613015C4E0054AC8C /* PointLightSource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A1E1154513015C4E0054AC8C /* PointLightSource.cpp */; };
</span><span class="cx">                 A1E1154813015C5D0054AC8C /* SpotLightSource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A1E1154713015C5D0054AC8C /* SpotLightSource.cpp */; };
</span><span class="cx">                 A1E5B31F1AAD1DA4006EBEFB /* JSMockContentFilterSettingsCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A1E5B31D1AAD1DA4006EBEFB /* JSMockContentFilterSettingsCustom.cpp */; };
</span><del>-                A1ED778C1BE3294000DC1791 /* Device.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A1ED778A1BE3293F00DC1791 /* Device.cpp */; };
-                A1ED778D1BE3294000DC1791 /* Device.h in Headers */ = {isa = PBXBuildFile; fileRef = A1ED778B1BE3294000DC1791 /* Device.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                A1ED778F1BE4291800DC1791 /* UIKitSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = A1ED778E1BE4291800DC1791 /* UIKitSPI.h */; };
</del><span class="cx">                 A2B9217316C5CC420041DCD9 /* IntRectExtent.h in Headers */ = {isa = PBXBuildFile; fileRef = A2B9217216C5CC420041DCD9 /* IntRectExtent.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 A31C4E4D16E02AA6002F7957 /* OESTextureHalfFloat.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A31C4E4C16E02AA6002F7957 /* OESTextureHalfFloat.cpp */; };
</span><span class="cx">                 A31C4E4F16E02AB4002F7957 /* OESTextureHalfFloat.h in Headers */ = {isa = PBXBuildFile; fileRef = A31C4E4E16E02AB4002F7957 /* OESTextureHalfFloat.h */; };
</span><span class="lines">@@ -6063,7 +6061,7 @@
</span><span class="cx">                 CE12523D1A1676CD00864480 /* QuartzCoreSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12523C1A1676CD00864480 /* QuartzCoreSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CE1252411A16B1B600864480 /* MediaPlayerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252401A16B1B600864480 /* MediaPlayerSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CE1252431A16C01A00864480 /* CoreUISPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252421A16C01A00864480 /* CoreUISPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                CE1252451A16C22500864480 /* DynamicLinkerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252441A16C22500864480 /* DynamicLinkerSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</del><ins>+                CE1252451A16C22500864480 /* DynamicLinkerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252441A16C22500864480 /* DynamicLinkerSPI.h */; };
</ins><span class="cx">                 CE1252471A16C2C200864480 /* NSPointerFunctionsSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252461A16C2C200864480 /* NSPointerFunctionsSPI.h */; };
</span><span class="cx">                 CE1252491A16C3BC00864480 /* MobileGestaltSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252481A16C3BC00864480 /* MobileGestaltSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CE12524D1A1A77DE00864480 /* IOPMLibSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12524C1A1A77DE00864480 /* IOPMLibSPI.h */; };
</span><span class="lines">@@ -6352,6 +6350,7 @@
</span><span class="cx">                 E1C266DB18319935003F8B33 /* CryptoAlgorithmRsaKeyParamsWithHash.h in Headers */ = {isa = PBXBuildFile; fileRef = E1C266DA18319935003F8B33 /* CryptoAlgorithmRsaKeyParamsWithHash.h */; };
</span><span class="cx">                 E1C266DE18319F31003F8B33 /* CryptoKeyDataRSAComponents.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1C266DC18319F31003F8B33 /* CryptoKeyDataRSAComponents.cpp */; };
</span><span class="cx">                 E1C266DF18319F31003F8B33 /* CryptoKeyDataRSAComponents.h in Headers */ = {isa = PBXBuildFile; fileRef = E1C266DD18319F31003F8B33 /* CryptoKeyDataRSAComponents.h */; };
</span><ins>+                E1C2F24A1533A2120083F974 /* SettingsMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = E1C2F2481533A2120083F974 /* SettingsMac.mm */; };
</ins><span class="cx">                 E1C362EF0EAF2AA9007410BC /* JSWorkerLocation.h in Headers */ = {isa = PBXBuildFile; fileRef = E1C362ED0EAF2AA9007410BC /* JSWorkerLocation.h */; };
</span><span class="cx">                 E1C362F00EAF2AA9007410BC /* JSWorkerLocation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1C362EE0EAF2AA9007410BC /* JSWorkerLocation.cpp */; };
</span><span class="cx">                 E1C36C030EB076D6007410BC /* JSDOMGlobalObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E1C36C020EB076D6007410BC /* JSDOMGlobalObject.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -8699,6 +8698,7 @@
</span><span class="cx">                 31DEA4531B39F4D900F77178 /* WebSystemBackdropLayer.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebSystemBackdropLayer.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 31DEA4541B39F4D900F77178 /* WebSystemBackdropLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebSystemBackdropLayer.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 31DF63561AF187DD0078FD91 /* NSColorSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSColorSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                31DF63581AF194F00078FD91 /* UIColorSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIColorSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 31E8D8BA160BC94B004CE8F5 /* RenderSnapshottedPlugIn.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderSnapshottedPlugIn.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 31E8D8BB160BC94C004CE8F5 /* RenderSnapshottedPlugIn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderSnapshottedPlugIn.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 31EAF97C121435A400E7C1BF /* DeviceMotionClientIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceMotionClientIOS.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -9039,6 +9039,7 @@
</span><span class="cx">                 44A28AAE12DFB8BF00AE923B /* MathMLNames.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLNames.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 44C363EE0FAA7BB30097F8CC /* RuntimeApplicationChecksIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RuntimeApplicationChecksIOS.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 44C363EF0FAA7BB30097F8CC /* RuntimeApplicationChecksIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RuntimeApplicationChecksIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                44C3CFE71556BE5D00013609 /* WebCoreSystemInterfaceIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreSystemInterfaceIOS.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 44C991810F3D1E0D00586670 /* ScrollbarThemeIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ScrollbarThemeIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 44C991850F3D1EBE00586670 /* ScrollbarThemeIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollbarThemeIOS.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 44C9919D0F3D210E00586670 /* ThemeIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThemeIOS.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -11559,7 +11560,6 @@
</span><span class="cx">                 A14978701ABAF3A500CEF7E4 /* PlatformContentFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlatformContentFilter.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A17C81200F2A5CF7005DAAEB /* HTMLElementFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLElementFactory.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A17C81210F2A5CF7005DAAEB /* HTMLElementFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLElementFactory.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                A182D5B61BE722620087A7CC /* SettingsCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SettingsCocoa.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 A18890AC1AA13F250026C301 /* ParentalControlsContentFilter.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ParentalControlsContentFilter.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A18890AD1AA13F250026C301 /* ParentalControlsContentFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ParentalControlsContentFilter.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A19AEA1C1AAA7C4900B52B25 /* MockContentFilterSettings.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = MockContentFilterSettings.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -11581,9 +11581,6 @@
</span><span class="cx">                 A1E1154513015C4E0054AC8C /* PointLightSource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PointLightSource.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A1E1154713015C5D0054AC8C /* SpotLightSource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SpotLightSource.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A1E5B31D1AAD1DA4006EBEFB /* JSMockContentFilterSettingsCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSMockContentFilterSettingsCustom.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                A1ED778A1BE3293F00DC1791 /* Device.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Device.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                A1ED778B1BE3294000DC1791 /* Device.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Device.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                A1ED778E1BE4291800DC1791 /* UIKitSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIKitSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 A208E222A56A0C7575F2A72E /* RenderMathMLMenclose.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderMathMLMenclose.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A2B9217216C5CC420041DCD9 /* IntRectExtent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IntRectExtent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A31C4E4C16E02AA6002F7957 /* OESTextureHalfFloat.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OESTextureHalfFloat.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -14217,6 +14214,7 @@
</span><span class="cx">                 E1C266DA18319935003F8B33 /* CryptoAlgorithmRsaKeyParamsWithHash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CryptoAlgorithmRsaKeyParamsWithHash.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 E1C266DC18319F31003F8B33 /* CryptoKeyDataRSAComponents.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CryptoKeyDataRSAComponents.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 E1C266DD18319F31003F8B33 /* CryptoKeyDataRSAComponents.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CryptoKeyDataRSAComponents.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                E1C2F2481533A2120083F974 /* SettingsMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SettingsMac.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 E1C362ED0EAF2AA9007410BC /* JSWorkerLocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWorkerLocation.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 E1C362EE0EAF2AA9007410BC /* JSWorkerLocation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWorkerLocation.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 E1C36C020EB076D6007410BC /* JSDOMGlobalObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMGlobalObject.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -17084,7 +17082,6 @@
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="cx">                                 ADFE2B541BD5F41200DAB457 /* ResourceUsageOverlayCocoa.mm */,
</span><del>-                                A182D5B61BE722620087A7CC /* SettingsCocoa.mm */,
</del><span class="cx">                                 26255F0118878E110006E1FD /* UserAgent.h */,
</span><span class="cx">                                 5D5975B61963637B00D00878 /* UserAgent.mm */,
</span><span class="cx">                         );
</span><span class="lines">@@ -18603,6 +18600,7 @@
</span><span class="cx">                                 834DD4F31BE08989002C9C3E /* PageMac.mm */,
</span><span class="cx">                                 2D93AEE119DF5641002A86C3 /* ServicesOverlayController.h */,
</span><span class="cx">                                 2D93AEE219DF5641002A86C3 /* ServicesOverlayController.mm */,
</span><ins>+                                E1C2F2481533A2120083F974 /* SettingsMac.mm */,
</ins><span class="cx">                                 2D4F96F31A1ECC240098BF88 /* TextIndicatorWindow.h */,
</span><span class="cx">                                 2D4F96F41A1ECC240098BF88 /* TextIndicatorWindow.mm */,
</span><span class="cx">                                 26255F0218878E110006E1FD /* UserAgentMac.mm */,
</span><span class="lines">@@ -19473,7 +19471,7 @@
</span><span class="cx">                                 CE1252481A16C3BC00864480 /* MobileGestaltSPI.h */,
</span><span class="cx">                                 6FAD4A561A9D0FAE009F7D3C /* OpenGLESSPI.h */,
</span><span class="cx">                                 CE1252381A166FA000864480 /* QuickLookSPI.h */,
</span><del>-                                A1ED778E1BE4291800DC1791 /* UIKitSPI.h */,
</del><ins>+                                31DF63581AF194F00078FD91 /* UIColorSPI.h */,
</ins><span class="cx">                         );
</span><span class="cx">                         path = ios;
</span><span class="cx">                         sourceTree = &quot;&lt;group&gt;&quot;;
</span><span class="lines">@@ -19492,8 +19490,6 @@
</span><span class="cx">                         children = (
</span><span class="cx">                                 A148328B187F506800DA63A6 /* wak */,
</span><span class="cx">                                 2655414B1489AA2B000DFC5D /* CursorIOS.cpp */,
</span><del>-                                A1ED778A1BE3293F00DC1791 /* Device.cpp */,
-                                A1ED778B1BE3294000DC1791 /* Device.h */,
</del><span class="cx">                                 31EAF97C121435A400E7C1BF /* DeviceMotionClientIOS.h */,
</span><span class="cx">                                 31EAF97D121435A400E7C1BF /* DeviceMotionClientIOS.mm */,
</span><span class="cx">                                 31403799124BEA7F00AF40E4 /* DeviceOrientationClientIOS.h */,
</span><span class="lines">@@ -19542,6 +19538,7 @@
</span><span class="cx">                                 1F72BF09187FD4270009BCB3 /* TileControllerMemoryHandlerIOS.h */,
</span><span class="cx">                                 31403797124BEA7F00AF40E4 /* WebCoreMotionManager.h */,
</span><span class="cx">                                 31403798124BEA7F00AF40E4 /* WebCoreMotionManager.mm */,
</span><ins>+                                44C3CFE71556BE5D00013609 /* WebCoreSystemInterfaceIOS.h */,
</ins><span class="cx">                                 E45390380EAFD637003695C8 /* WebCoreSystemInterfaceIOS.mm */,
</span><span class="cx">                                 FE0D84E810484348001A179E /* WebEvent.h */,
</span><span class="cx">                                 FE0D84EA1048436E001A179E /* WebEvent.mm */,
</span><span class="lines">@@ -25287,7 +25284,6 @@
</span><span class="cx">                                 85526CD20AB0B7D9000302EA /* DOMTreeWalker.h in Headers */,
</span><span class="cx">                                 850B41C30AD9E7E700A6ED4F /* DOMTreeWalkerInternal.h in Headers */,
</span><span class="cx">                                 85C7F4910AAF79DC004014DD /* DOMUIEvent.h in Headers */,
</span><del>-                                A1ED778F1BE4291800DC1791 /* UIKitSPI.h in Headers */,
</del><span class="cx">                                 85989DD00ACC8BBD00A0BC51 /* DOMUIEventInternal.h in Headers */,
</span><span class="cx">                                 FED13D2A0CEA91DF00D89466 /* DOMUIKitExtensions.h in Headers */,
</span><span class="cx">                                 2E37DFDB12DBAFB800A6B233 /* DOMURL.h in Headers */,
</span><span class="lines">@@ -27680,7 +27676,6 @@
</span><span class="cx">                                 C105DA640F3AA6B8001DD44F /* TextEncodingDetector.h in Headers */,
</span><span class="cx">                                 B2C3DA490D006C1D00EF6F26 /* TextEncodingRegistry.h in Headers */,
</span><span class="cx">                                 933A14300B7D188600A53FFD /* TextEvent.h in Headers */,
</span><del>-                                A1ED778D1BE3294000DC1791 /* Device.h in Headers */,
</del><span class="cx">                                 A77B41A012E675A90054343D /* TextEventInputType.h in Headers */,
</span><span class="cx">                                 F55B3DD81251F12D003EF269 /* TextFieldInputType.h in Headers */,
</span><span class="cx">                                 B2C3DA450D006C1D00EF6F26 /* TextFlags.h in Headers */,
</span><span class="lines">@@ -27760,6 +27755,7 @@
</span><span class="cx">                                 C375D7FE16639519006184AB /* TypeAhead.h in Headers */,
</span><span class="cx">                                 E46A2B1C17CA65B9000DBCD8 /* TypedElementDescendantIterator.h in Headers */,
</span><span class="cx">                                 93309E1A099E64920056E581 /* TypingCommand.h in Headers */,
</span><ins>+                                31DF63591AF194F00078FD91 /* UIColorSPI.h in Headers */,
</ins><span class="cx">                                 85031B4E0A44EFC700F992E0 /* UIEvent.h in Headers */,
</span><span class="cx">                                 85031B4F0A44EFC700F992E0 /* UIEventWithKeyState.h in Headers */,
</span><span class="cx">                                 AA4739D21757AFEC00E76767 /* UIRequestEvent.h in Headers */,
</span><span class="lines">@@ -27870,6 +27866,7 @@
</span><span class="cx">                                 E180810F16FCECDF00B80D07 /* WebCoreResourceHandleAsDelegate.h in Headers */,
</span><span class="cx">                                 E152551516FD2350003D7ADB /* WebCoreResourceHandleAsOperationQueueDelegate.h in Headers */,
</span><span class="cx">                                 93EB169709F880C00091F8FF /* WebCoreSystemInterface.h in Headers */,
</span><ins>+                                44C3CFE81556BE5D00013609 /* WebCoreSystemInterfaceIOS.h in Headers */,
</ins><span class="cx">                                 A14832C7187F66C800DA63A6 /* WebCoreThread.h in Headers */,
</span><span class="cx">                                 A14832C9187F676B00DA63A6 /* WebCoreThreadInternal.h in Headers */,
</span><span class="cx">                                 A14832CA187F678000DA63A6 /* WebCoreThreadMessage.h in Headers */,
</span><span class="lines">@@ -28655,7 +28652,6 @@
</span><span class="cx">                                 409EBDB216B7EE7400CBA3FC /* CSSFontFaceLoadEvent.cpp in Sources */,
</span><span class="cx">                                 A80E6CE70A1989CA007FB8C5 /* CSSFontFaceRule.cpp in Sources */,
</span><span class="cx">                                 BC64B4D70CB4298A005F2B62 /* CSSFontFaceSource.cpp in Sources */,
</span><del>-                                A1ED778C1BE3294000DC1791 /* Device.cpp in Sources */,
</del><span class="cx">                                 BC64B4D90CB4298A005F2B62 /* CSSFontFaceSrcValue.cpp in Sources */,
</span><span class="cx">                                 4A6E9FC313C17D1D0046A7F8 /* CSSFontFeatureValue.cpp in Sources */,
</span><span class="cx">                                 BC64B4DB0CB4298A005F2B62 /* CSSFontSelector.cpp in Sources */,
</span><span class="lines">@@ -30784,6 +30780,7 @@
</span><span class="cx">                                 93309E0F099E64920056E581 /* SetNodeAttributeCommand.cpp in Sources */,
</span><span class="cx">                                 B8DBDB4B130B0F8A00F5CDB1 /* SetSelectionCommand.cpp in Sources */,
</span><span class="cx">                                 14C9A5EA0B3D105F005A0232 /* Settings.cpp in Sources */,
</span><ins>+                                E1C2F24A1533A2120083F974 /* SettingsMac.mm in Sources */,
</ins><span class="cx">                                 0F3DD44F12F5EA1B000D9190 /* ShadowBlur.cpp in Sources */,
</span><span class="cx">                                 BC5EB8C30E82031B00B25965 /* ShadowData.cpp in Sources */,
</span><span class="cx">                                 A6D169621346B49B000EB770 /* ShadowRoot.cpp in Sources */,
</span><span class="lines">@@ -30861,7 +30858,6 @@
</span><span class="cx">                                 1A37636B1A2E68BB009A7EE2 /* StorageNamespaceProvider.cpp in Sources */,
</span><span class="cx">                                 8102C5881325BB1100DDE67A /* StringCallback.cpp in Sources */,
</span><span class="cx">                                 B23540F20D00782E002382FA /* StringTruncator.cpp in Sources */,
</span><del>-                                A182D5B71BE722670087A7CC /* SettingsCocoa.mm in Sources */,
</del><span class="cx">                                 BC5EB6A20E81DC4F00B25965 /* StyleBackgroundData.cpp in Sources */,
</span><span class="cx">                                 BC5EB67D0E81D42000B25965 /* StyleBoxData.cpp in Sources */,
</span><span class="cx">                                 8386A97019F61E4F00E1EC4A /* StyleBuilder.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoreconfigh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/config.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/config.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/config.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -116,6 +116,11 @@
</span><span class="cx"> #endif
</span><span class="cx"> #endif /* USE(CG) */
</span><span class="cx"> 
</span><ins>+#if PLATFORM(IOS)
+#define WEBCORE_NAVIGATOR_PLATFORM wkGetPlatformNameForNavigator();
+#define WEBCORE_NAVIGATOR_VENDOR wkGetVendorNameForNavigator();
+#endif
+
</ins><span class="cx"> // FIXME: Move this to JavaScriptCore/wtf/Platform.h, which is where we define USE_AVFOUNDATION on the Mac.
</span><span class="cx"> // https://bugs.webkit.org/show_bug.cgi?id=67334
</span><span class="cx"> #if PLATFORM(WIN) &amp;&amp; USE(CG) &amp;&amp; HAVE(AVCF)
</span></span></pre></div>
<a id="trunkSourceWebCorecssMediaQueryEvaluatorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/MediaQueryEvaluator.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/MediaQueryEvaluator.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/css/MediaQueryEvaluator.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-#include &quot;Device.h&quot;
</del><ins>+#include &quot;WebCoreSystemInterface.h&quot;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -631,8 +631,8 @@
</span><span class="cx"> static inline bool isRunningOnIPhoneOrIPod()
</span><span class="cx"> {
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-    static bool runningOnIPhoneOrIPod = deviceClass() == MGDeviceClassiPhone || deviceClass() == MGDeviceClassiPod;
-    return runningOnIPhoneOrIPod;
</del><ins>+    static wkDeviceClass deviceClass = iosDeviceClass();
+    return deviceClass == wkDeviceClassiPhone || deviceClass == wkDeviceClassiPod;
</ins><span class="cx"> #else
</span><span class="cx">     return false;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMediaElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMediaElement.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -110,7 +110,6 @@
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> #include &quot;RuntimeApplicationChecksIOS.h&quot;
</span><del>-#include &quot;WebVideoFullscreenInterfaceAVKit.h&quot;
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(WIRELESS_PLAYBACK_TARGET)
</span><span class="lines">@@ -6435,7 +6434,7 @@
</span><span class="cx">     if (m_videoFullscreenMode &amp; VideoFullscreenModePictureInPicture)
</span><span class="cx">         return true;
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-    if (m_videoFullscreenMode == VideoFullscreenModeStandard &amp;&amp; supportsPictureInPicture() &amp;&amp; isPlaying())
</del><ins>+    if (m_videoFullscreenMode == VideoFullscreenModeStandard &amp;&amp; wkIsOptimizedFullscreenSupported() &amp;&amp; isPlaying())
</ins><span class="cx">         return true;
</span><span class="cx"> #endif
</span><span class="cx">     return false;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLObjectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLObjectElement.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLObjectElement.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/html/HTMLObjectElement.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -55,8 +55,8 @@
</span><span class="cx"> #include &lt;wtf/Ref.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-#include &quot;DynamicLinkerSPI.h&quot;
</del><span class="cx"> #include &quot;RuntimeApplicationChecksIOS.h&quot;
</span><ins>+#include &quot;WebCoreSystemInterface.h&quot;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -159,7 +159,7 @@
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> static bool shouldNotPerformURLAdjustment()
</span><span class="cx"> {
</span><del>-    static bool shouldNotPerformURLAdjustment = applicationIsNASAHD() &amp;&amp; dyld_get_program_sdk_version() &lt; DYLD_IOS_VERSION_5_0;
</del><ins>+    static bool shouldNotPerformURLAdjustment = applicationIsNASAHD() &amp;&amp; !iosExecutableWasLinkedOnOrAfterVersion(wkIOSSystemVersion_5_0);
</ins><span class="cx">     return shouldNotPerformURLAdjustment;
</span><span class="cx"> }
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLVideoElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLVideoElement.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLVideoElement.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/html/HTMLVideoElement.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -43,10 +43,6 @@
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &lt;wtf/NeverDestroyed.h&gt;
</span><span class="cx"> 
</span><del>-#if ENABLE(VIDEO_PRESENTATION_MODE)
-#include &quot;WebVideoFullscreenInterfaceAVKit.h&quot;
-#endif
-
</del><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> using namespace HTMLNames;
</span><span class="lines">@@ -373,7 +369,7 @@
</span><span class="cx">         return mediaSession().fullscreenPermitted(*this) &amp;&amp; supportsFullscreen();
</span><span class="cx"> 
</span><span class="cx">     if (mode == presentationModePictureInPicture())
</span><del>-        return supportsPictureInPicture() &amp;&amp; mediaSession().allowsPictureInPicture(*this) &amp;&amp; supportsFullscreen();
</del><ins>+        return wkIsOptimizedFullscreenSupported() &amp;&amp; mediaSession().allowsPictureInPicture(*this) &amp;&amp; supportsFullscreen();
</ins><span class="cx"> 
</span><span class="cx">     if (mode == presentationModeInline())
</span><span class="cx">         return !mediaSession().requiresFullscreenForVideoPlayback(*this);
</span></span></pre></div>
<a id="trunkSourceWebCorepageNavigatorBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/NavigatorBase.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/NavigatorBase.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/page/NavigatorBase.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -36,12 +36,12 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-#include &quot;Device.h&quot;
</del><ins>+#include &quot;WebCoreSystemInterface.h&quot;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #ifndef WEBCORE_NAVIGATOR_PLATFORM
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-#define WEBCORE_NAVIGATOR_PLATFORM deviceName()
</del><ins>+#define WEBCORE_NAVIGATOR_PLATFORM &quot;&quot;
</ins><span class="cx"> #elif OS(MAC_OS_X) &amp;&amp; (CPU(PPC) || CPU(PPC64))
</span><span class="cx"> #define WEBCORE_NAVIGATOR_PLATFORM &quot;MacPPC&quot;
</span><span class="cx"> #elif OS(MAC_OS_X) &amp;&amp; (CPU(X86) || CPU(X86_64))
</span><span class="lines">@@ -69,6 +69,7 @@
</span><span class="cx"> #define WEBCORE_NAVIGATOR_VENDOR_SUB &quot;&quot;
</span><span class="cx"> #endif // ifndef WEBCORE_NAVIGATOR_VENDOR_SUB
</span><span class="cx"> 
</span><ins>+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> NavigatorBase::~NavigatorBase()
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/page/Settings.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -282,10 +282,6 @@
</span><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT void setForcePendingWebGLPolicy(bool);
</span><span class="cx">     bool isForcePendingWebGLPolicy() const { return m_forcePendingWebGLPolicy; }
</span><del>-    
-#if PLATFORM(IOS)
-    WEBCORE_EXPORT static float defaultMinimumZoomFontSize();
-#endif
</del><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     explicit Settings(Page*);
</span></span></pre></div>
<a id="trunkSourceWebCorepageViewportConfigurationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ViewportConfiguration.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ViewportConfiguration.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/page/ViewportConfiguration.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-#include &quot;PlatformScreen.h&quot;
</del><ins>+#include &quot;WebCoreSystemInterface.h&quot;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -213,7 +213,7 @@
</span><span class="cx">     Parameters parameters;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-    parameters.width = static_cast&lt;int&gt;(screenSize().width());
</del><ins>+    parameters.width = static_cast&lt;int&gt;(wkGetScreenSize().width);
</ins><span class="cx"> #else
</span><span class="cx">     // FIXME: this needs to be unified with ViewportArguments on all ports.
</span><span class="cx">     parameters.width = 320;
</span></span></pre></div>
<a id="trunkSourceWebCorepagecocoaSettingsCocoamm"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,132 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 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;Settings.h&quot;
-
-#if PLATFORM(IOS)
-#include &quot;Device.h&quot;
-#include &quot;SoftLinking.h&quot;
-#include &quot;UIKitSPI.h&quot;
-#endif
-
-#if PLATFORM(IOS)
-SOFT_LINK_FRAMEWORK(UIKit)
-SOFT_LINK_CLASS(UIKit, UIApplication)
-#endif
-
-namespace WebCore {
-
-static inline const char* sansSerifTraditionalHanFontFamily()
-{
-#if (PLATFORM(MAC) &amp;&amp; __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 101000) || PLATFORM(IOS)
-    return &quot;PingFang TC&quot;;
-#else
-    return &quot;Heiti TC&quot;;
-#endif
-}
-
-static inline const char* sansSerifSimplifiedHanFontFamily()
-{
-#if (PLATFORM(MAC) &amp;&amp; __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 101000) || PLATFORM(IOS)
-    return &quot;PingFang SC&quot;;
-#else
-    return &quot;Heiti SC&quot;;
-#endif
-}
-
-#if PLATFORM(MAC)
-
-void Settings::initializeDefaultFontFamilies()
-{
-    setStandardFontFamily(&quot;Songti TC&quot;, USCRIPT_TRADITIONAL_HAN);
-    setSerifFontFamily(&quot;Songti TC&quot;, USCRIPT_TRADITIONAL_HAN);
-    setFixedFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
-    setSansSerifFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
-
-    setStandardFontFamily(&quot;Songti SC&quot;, USCRIPT_SIMPLIFIED_HAN);
-    setSerifFontFamily(&quot;Songti SC&quot;, USCRIPT_SIMPLIFIED_HAN);
-    setFixedFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
-    setSansSerifFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
-
-    setStandardFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-    setFixedFontFamily(&quot;Osaka-Mono&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-    setSerifFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-    setSansSerifFontFamily(&quot;Hiragino Kaku Gothic ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-
-    setStandardFontFamily(&quot;AppleMyungjo&quot;, USCRIPT_HANGUL);
-    setSerifFontFamily(&quot;AppleMyungjo&quot;, USCRIPT_HANGUL);
-    setFixedFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
-    setSansSerifFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
-
-    setStandardFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
-    setFixedFontFamily(&quot;Courier&quot;, USCRIPT_COMMON);
-    setSerifFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
-    setSansSerifFontFamily(&quot;Helvetica&quot;, USCRIPT_COMMON);
-}
-
-#else
-
-void Settings::initializeDefaultFontFamilies()
-{
-    // There is no serif Chinese font in default iOS installation.
-    setStandardFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
-    setSerifFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
-    setFixedFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
-    setSansSerifFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
-
-    // There is no serif Chinese font in default iOS installation.
-    setStandardFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
-    setSerifFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
-    setFixedFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
-    setSansSerifFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
-
-    setStandardFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-    setFixedFontFamily(&quot;Hiragino Kaku Gothic ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-    setSerifFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-    setSansSerifFontFamily(&quot;Hiragino Kaku Gothic ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
-
-    // There is no serif Korean font in default iOS installation.
-    setStandardFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
-    setSerifFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
-    setFixedFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
-    setSansSerifFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
-
-    setStandardFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
-    setFixedFontFamily(&quot;Courier&quot;, USCRIPT_COMMON);
-    setSerifFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
-    setSansSerifFontFamily(&quot;Helvetica&quot;, USCRIPT_COMMON);
-}
-    
-float Settings::defaultMinimumZoomFontSize()
-{
-    if (deviceHasIPadCapability() &amp;&amp; ![[getUIApplicationClass() sharedApplication] _isClassic])
-        return 0;
-    return 15;
-}
-
-#endif
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCorepageiosUserAgentIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ios/UserAgentIOS.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ios/UserAgentIOS.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/page/ios/UserAgentIOS.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -26,47 +26,16 @@
</span><span class="cx"> #import &quot;config.h&quot;
</span><span class="cx"> #import &quot;UserAgent.h&quot;
</span><span class="cx"> 
</span><del>-#import &quot;Device.h&quot;
-#import &quot;MobileGestaltSPI.h&quot;
-#import &quot;SoftLinking.h&quot;
</del><span class="cx"> #import &quot;SystemVersion.h&quot;
</span><del>-#import &quot;UIKitSPI.h&quot;
</del><span class="cx"> #import &quot;WebCoreSystemInterface.h&quot;
</span><del>-#import &lt;wtf/RetainPtr.h&gt;
</del><span class="cx"> 
</span><del>-SOFT_LINK_FRAMEWORK(UIKit);
-SOFT_LINK_CLASS(UIKit, UIApplication);
-
</del><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-static inline bool isClassic()
-{
-    return [[getUIApplicationClass() sharedApplication] _isClassic];
-}
-
-static inline NSString *osNameForUserAgent()
-{
-    if (deviceHasIPadCapability() &amp;&amp; !isClassic())
-        return @&quot;OS&quot;;
-    return @&quot;iPhone OS&quot;;
-}
-
-static inline NSString *deviceNameForUserAgent()
-{
-    if (isClassic())
-        return @&quot;iPhone&quot;;
-    
-    auto name = retainPtr((NSString *)deviceName());
-#if PLATFORM(IOS_SIMULATOR)
-    NSUInteger location = [name rangeOfString:@&quot; Simulator&quot; options:NSBackwardsSearch].location;
-    if (location != NSNotFound &amp;&amp; location &gt; 0)
-        return [name substringToIndex:location];
-#endif
-    return name.autorelease();
-}
-
</del><span class="cx"> String standardUserAgentWithApplicationName(const String&amp; applicationName, const String&amp; fullWebKitVersionString)
</span><span class="cx"> {
</span><ins>+    if (CFStringRef overrideUserAgent = wkGetUserAgent())
+        return overrideUserAgent;
+
</ins><span class="cx">     // Check to see if there is a user agent override for all WebKit clients.
</span><span class="cx">     CFPropertyListRef override = CFPreferencesCopyAppValue(CFSTR(&quot;UserAgent&quot;), CFSTR(&quot;com.apple.WebFoundation&quot;));
</span><span class="cx">     if (override) {
</span><span class="lines">@@ -75,12 +44,13 @@
</span><span class="cx">         CFRelease(override);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    // FIXME: We should implement this with String and/or StringBuilder instead.
</del><span class="cx">     NSString *webKitVersion = userAgentBundleVersionFromFullVersionString(fullWebKitVersionString);
</span><ins>+    CFStringRef deviceName = wkGetDeviceName();
+    CFStringRef osNameForUserAgent = wkGetOSNameForUserAgent();
</ins><span class="cx">     NSString *osMarketingVersionString = systemMarketingVersionForUserAgentString();
</span><span class="cx">     if (applicationName.isEmpty())
</span><del>-        return [NSString stringWithFormat:@&quot;Mozilla/5.0 (%@; CPU %@ %@ like Mac OS X) AppleWebKit/%@ (KHTML, like Gecko)&quot;, deviceNameForUserAgent(), osNameForUserAgent(), osMarketingVersionString, webKitVersion];
-    return [NSString stringWithFormat:@&quot;Mozilla/5.0 (%@; CPU %@ %@ like Mac OS X) AppleWebKit/%@ (KHTML, like Gecko) %@&quot;, deviceNameForUserAgent(), osNameForUserAgent(), osMarketingVersionString, webKitVersion, static_cast&lt;NSString *&gt;(applicationName)];
</del><ins>+        return [NSString stringWithFormat:@&quot;Mozilla/5.0 (%@; CPU %@ %@ like Mac OS X) AppleWebKit/%@ (KHTML, like Gecko)&quot;, deviceName, osNameForUserAgent, osMarketingVersionString, webKitVersion];
+    return [NSString stringWithFormat:@&quot;Mozilla/5.0 (%@; CPU %@ %@ like Mac OS X) AppleWebKit/%@ (KHTML, like Gecko) %@&quot;, deviceName, osNameForUserAgent, osMarketingVersionString, webKitVersion, static_cast&lt;NSString *&gt;(applicationName)];
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore.
</span></span></pre></div>
<a id="trunkSourceWebCorepagemacSettingsMacmmfromrev191902trunkSourceWebCorepagecocoaSettingsCocoamm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/page/mac/SettingsMac.mm (from rev 191902, trunk/Source/WebCore/page/cocoa/SettingsCocoa.mm) (0 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/mac/SettingsMac.mm                                (rev 0)
+++ trunk/Source/WebCore/page/mac/SettingsMac.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -0,0 +1,112 @@
</span><ins>+/*
+ * Copyright (C) 2012 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;Settings.h&quot;
+
+namespace WebCore {
+
+static inline const char* sansSerifTraditionalHanFontFamily()
+{
+#if (PLATFORM(MAC) &amp;&amp; __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 101000) || PLATFORM(IOS)
+    return &quot;PingFang TC&quot;;
+#else
+    return &quot;Heiti TC&quot;;
+#endif
+}
+
+static inline const char* sansSerifSimplifiedHanFontFamily()
+{
+#if (PLATFORM(MAC) &amp;&amp; __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 101000) || PLATFORM(IOS)
+    return &quot;PingFang SC&quot;;
+#else
+    return &quot;Heiti SC&quot;;
+#endif
+}
+
+#if PLATFORM(MAC)
+void Settings::initializeDefaultFontFamilies()
+{
+    setStandardFontFamily(&quot;Songti TC&quot;, USCRIPT_TRADITIONAL_HAN);
+    setSerifFontFamily(&quot;Songti TC&quot;, USCRIPT_TRADITIONAL_HAN);
+    setFixedFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
+    setSansSerifFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
+
+    setStandardFontFamily(&quot;Songti SC&quot;, USCRIPT_SIMPLIFIED_HAN);
+    setSerifFontFamily(&quot;Songti SC&quot;, USCRIPT_SIMPLIFIED_HAN);
+    setFixedFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
+    setSansSerifFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
+
+    setStandardFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+    setFixedFontFamily(&quot;Osaka-Mono&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+    setSerifFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+    setSansSerifFontFamily(&quot;Hiragino Kaku Gothic ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+
+    setStandardFontFamily(&quot;AppleMyungjo&quot;, USCRIPT_HANGUL);
+    setSerifFontFamily(&quot;AppleMyungjo&quot;, USCRIPT_HANGUL);
+    setFixedFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
+    setSansSerifFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
+
+    setStandardFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
+    setFixedFontFamily(&quot;Courier&quot;, USCRIPT_COMMON);
+    setSerifFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
+    setSansSerifFontFamily(&quot;Helvetica&quot;, USCRIPT_COMMON);
+}
+
+#else
+
+void Settings::initializeDefaultFontFamilies()
+{
+    // There is no serif Chinese font in default iOS installation.
+    setStandardFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
+    setSerifFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
+    setFixedFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
+    setSansSerifFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
+
+    // There is no serif Chinese font in default iOS installation.
+    setStandardFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
+    setSerifFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
+    setFixedFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
+    setSansSerifFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
+
+    setStandardFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+    setFixedFontFamily(&quot;Hiragino Kaku Gothic ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+    setSerifFontFamily(&quot;Hiragino Mincho ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+    setSansSerifFontFamily(&quot;Hiragino Kaku Gothic ProN&quot;, USCRIPT_KATAKANA_OR_HIRAGANA);
+
+    // There is no serif Korean font in default iOS installation.
+    setStandardFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
+    setSerifFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
+    setFixedFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
+    setSansSerifFontFamily(&quot;Apple SD Gothic Neo&quot;, USCRIPT_HANGUL);
+
+    setStandardFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
+    setFixedFontFamily(&quot;Courier&quot;, USCRIPT_COMMON);
+    setSerifFontFamily(&quot;Times&quot;, USCRIPT_COMMON);
+    setSansSerifFontFamily(&quot;Helvetica&quot;, USCRIPT_COMMON);
+}
+#endif
+
+} // namespace WebCore
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformPlatformScreenh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/PlatformScreen.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/PlatformScreen.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/PlatformScreen.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -40,10 +40,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if PLATFORM(IOS)
-OBJC_CLASS UIScreen;
-#endif
-
</del><span class="cx"> typedef uint32_t PlatformDisplayID;
</span><span class="cx"> 
</span><span class="cx"> typedef WTF::Vector&lt;char&gt; ColorProfile;
</span><span class="lines">@@ -51,7 +47,6 @@
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx">     class FloatRect;
</span><del>-    class FloatSize;
</del><span class="cx">     class Widget;
</span><span class="cx"> 
</span><span class="cx">     int screenDepth(Widget*);
</span><span class="lines">@@ -74,9 +69,6 @@
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx">     float screenPPIFactor();
</span><del>-    WEBCORE_EXPORT FloatSize screenSize();
-    WEBCORE_EXPORT FloatSize availableScreenSize();
-    WEBCORE_EXPORT float screenScaleFactor(UIScreen * = nullptr);
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformiosDevicecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/platform/ios/Device.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/Device.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/Device.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,79 +0,0 @@
</span><del>-/*
- * Copyright (C) 2015 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;Device.h&quot;
-
-#if PLATFORM(IOS)
-
-#include &lt;mutex&gt;
-#include &lt;wtf/NeverDestroyed.h&gt;
-#include &lt;wtf/RetainPtr.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
-
-namespace WebCore {
-
-MGDeviceClass deviceClass()
-{
-    static MGDeviceClass deviceClass;
-    static std::once_flag onceFlag;
-    std::call_once(onceFlag, [] {
-        int deviceClassNumber = MGGetSInt32Answer(kMGQDeviceClassNumber, MGDeviceClassInvalid);
-        switch (deviceClassNumber) {
-        case MGDeviceClassInvalid:
-        case MGDeviceClassiPhone:
-        case MGDeviceClassiPod:
-        case MGDeviceClassiPad:
-        case MGDeviceClassAppleTV:
-        case MGDeviceClassWatch:
-            deviceClass = static_cast&lt;MGDeviceClass&gt;(deviceClassNumber);
-            return;
-        }
-        ASSERT_NOT_REACHED();
-    });
-    return deviceClass;
-}
-
-const String&amp; deviceName()
-{
-    static LazyNeverDestroyed&lt;String&gt; deviceName;
-    static std::once_flag onceFlag;
-    std::call_once(onceFlag, [] {
-        auto cfDeviceName = adoptCF(static_cast&lt;CFStringRef&gt;(MGCopyAnswer(kMGQDeviceName, nullptr)));
-        ASSERT(!cfDeviceName || CFGetTypeID(cfDeviceName.get()) == CFStringGetTypeID());
-        deviceName.construct(cfDeviceName.get());
-    });
-    return deviceName;
-}
-
-bool deviceHasIPadCapability()
-{
-    static bool deviceHasIPadCapability = MGGetBoolAnswer(kMGQiPadCapability);
-    return deviceHasIPadCapability;
-}
-
-} // namespace WebCore
-
-#endif // PLATFORM(IOS)
</del></span></pre></div>
<a id="trunkSourceWebCoreplatformiosDeviceh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/platform/ios/Device.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/Device.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/Device.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-/*
- * Copyright (C) 2015 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 Device_h
-#define Device_h
-
-#if PLATFORM(IOS)
-
-#include &quot;MobileGestaltSPI.h&quot;
-
-namespace WTF {
-class String;
-}
-
-namespace WebCore {
-
-WEBCORE_EXPORT MGDeviceClass deviceClass();
-const WTF::String&amp; deviceName();
-
-// FIXME: Isn't this the same as deviceClass() == MGDeviceClassiPad?
-bool deviceHasIPadCapability();
-
-}
-
-#endif // PLATFORM(IOS)
-
-#endif // Device_h
</del></span></pre></div>
<a id="trunkSourceWebCoreplatformiosPlatformScreenIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/PlatformScreenIOS.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -26,24 +26,19 @@
</span><span class="cx"> #import &quot;config.h&quot;
</span><span class="cx"> #import &quot;PlatformScreen.h&quot;
</span><span class="cx"> 
</span><del>-#import &quot;Device.h&quot;
</del><span class="cx"> #import &quot;FloatRect.h&quot;
</span><del>-#import &quot;FloatSize.h&quot;
</del><span class="cx"> #import &quot;FrameView.h&quot;
</span><span class="cx"> #import &quot;HostWindow.h&quot;
</span><span class="cx"> #import &quot;IntRect.h&quot;
</span><span class="cx"> #import &quot;MobileGestaltSPI.h&quot;
</span><span class="cx"> #import &quot;SoftLinking.h&quot;
</span><del>-#import &quot;UIKitSPI.h&quot;
</del><span class="cx"> #import &quot;WAKWindow.h&quot;
</span><span class="cx"> #import &quot;WebCoreSystemInterface.h&quot;
</span><span class="cx"> #import &quot;Widget.h&quot;
</span><span class="cx"> 
</span><span class="cx"> SOFT_LINK_FRAMEWORK(UIKit)
</span><del>-SOFT_LINK_CLASS(UIKit, UIApplication)
-SOFT_LINK_CLASS(UIKit, UIScreen)
-SOFT_LINK(UIKit, UIAccessibilityIsGrayscaleEnabled, BOOL, (void), ())
-SOFT_LINK(UIKit, UIAccessibilityIsInvertColorsEnabled, BOOL, (void), ())
</del><ins>+SOFT_LINK(UIKit, UIAccessibilityIsGrayscaleEnabled, bool, (void), ())
+SOFT_LINK(UIKit, UIAccessibilityIsInvertColorsEnabled, bool, (void), ())
</ins><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="lines">@@ -103,14 +98,25 @@
</span><span class="cx">     return enclosingIntRect(FloatRect(FloatPoint(), widget-&gt;root()-&gt;hostWindow()-&gt;availableScreenSize()));
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+static float mobileGestaltFloatValue(CFStringRef question)
+{
+    float result = 0;
+    if (CFTypeRef value = MGCopyAnswer(question, 0)) {
+        if (CFGetTypeID(value) == CFNumberGetTypeID())
+            CFNumberGetValue(static_cast&lt;CFNumberRef&gt;(value), kCFNumberFloatType, &amp;result);
+        CFRelease(value);
+    }
+    return result;
+}
+
</ins><span class="cx"> float screenPPIFactor()
</span><span class="cx"> {
</span><span class="cx">     static float ppiFactor;
</span><span class="cx"> 
</span><span class="cx">     static dispatch_once_t onceToken;
</span><span class="cx">     dispatch_once(&amp;onceToken, ^{
</span><del>-        int pitch = MGGetSInt32Answer(kMGQMainScreenPitch, 0);
-        float scale = MGGetFloat32Answer(kMGQMainScreenScale, 0);
</del><ins>+        float pitch = mobileGestaltFloatValue(kMGQMainScreenPitch);
+        float scale = mobileGestaltFloatValue(kMGQMainScreenScale);
</ins><span class="cx"> 
</span><span class="cx">         static const float originalIPhonePPI = 163;
</span><span class="cx">         float mainScreenPPI = (pitch &amp;&amp; scale) ? pitch / scale : originalIPhonePPI;
</span><span class="lines">@@ -120,33 +126,4 @@
</span><span class="cx">     return ppiFactor;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-FloatSize screenSize()
-{
-    if (deviceHasIPadCapability() &amp;&amp; [[getUIApplicationClass() sharedApplication] _isClassic])
-        return { 320, 480 };
-    return FloatSize([[getUIScreenClass() mainScreen] _referenceBounds].size);
-}
-
-FloatSize availableScreenSize()
-{
-    if (deviceHasIPadCapability() &amp;&amp; [[getUIApplicationClass() sharedApplication] _isClassic])
-        return { 320, 480 };
-    return FloatSize([getUIScreenClass() mainScreen].bounds.size);
-}
-
-float screenScaleFactor(UIScreen *screen)
-{
-    if (!screen)
-        screen = [getUIScreenClass() mainScreen];
-
-    CGFloat scale = screen.scale;
-
-    // We can remove this clamping once &lt;rdar://problem/16395475&gt; is fixed.
-    const CGFloat maximumClassicScreenScaleFactor = 2;
-    if ([[getUIApplicationClass() sharedApplication] _isClassic])
-        return std::min(scale, maximumClassicScreenScaleFactor);
-
-    return scale;
-}
-
</del><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformiosWebCoreSystemInterfaceIOSh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.h (0 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.h                                (rev 0)
+++ trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -0,0 +1,79 @@
</span><ins>+/*
+ * Copyright 2012 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. ``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
+ * 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 WebCoreSystemInterfaceIOS_h
+#define WebCoreSystemInterfaceIOS_h
+
+#include &lt;Availability.h&gt;
+
+typedef enum {
+    wkIOSSystemVersion_3_0 = __IPHONE_3_0,
+    wkIOSSystemVersion_4_2 = __IPHONE_4_2,
+    wkIOSSystemVersion_5_0 = __IPHONE_5_0,
+    wkIOSSystemVersion_6_0 = __IPHONE_6_0,
+    wkIOSSystemVersion_9_0 = __IPHONE_9_0,
+} wkIOSSystemVersion;
+
+bool iosExecutableWasLinkedOnOrAfterVersion(wkIOSSystemVersion);
+
+extern bool (*wkExecutableWasLinkedOnOrAfterIOSVersion)(int);
+
+extern bool (*wkIsGB18030ComplianceRequired)(void);
+
+inline bool iosExecutableWasLinkedOnOrAfterVersion(wkIOSSystemVersion version)
+{
+    return wkExecutableWasLinkedOnOrAfterIOSVersion(version);
+}
+
+typedef enum {
+    wkDeviceClassInvalid = -1,
+    wkDeviceClassiPad,
+    wkDeviceClassiPhone,
+    wkDeviceClassiPod,
+} wkDeviceClass;
+extern int (*wkGetDeviceClass)(void);
+inline wkDeviceClass iosDeviceClass(void)
+{
+    int deviceClass = wkGetDeviceClass();
+    switch (deviceClass) {
+    case wkDeviceClassInvalid:
+    case wkDeviceClassiPad:
+    case wkDeviceClassiPhone:
+    case wkDeviceClassiPod:
+        return (wkDeviceClass)deviceClass;
+    }
+    assert(false);
+    return wkDeviceClassInvalid;
+}
+
+extern CFStringRef (*wkGetUserAgent)(void);
+extern CFStringRef (*wkGetDeviceName)(void);
+extern CFStringRef (*wkGetOSNameForUserAgent)(void);
+extern CFStringRef (*wkGetPlatformNameForNavigator)(void);
+extern CFStringRef (*wkGetVendorNameForNavigator)(void);
+
+extern bool (*wkIsOptimizedFullscreenSupported)(void);
+
+#endif // WebCoreSystemInterfaceIOS_h
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformiosWebCoreSystemInterfaceIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/WebCoreSystemInterfaceIOS.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -46,7 +46,13 @@
</span><span class="cx"> WEBCORE_EXPORT void (*wkSetCONNECTProxyAuthorizationForStream)(CFReadStreamRef, CFStringRef proxyAuthorizationString);
</span><span class="cx"> WEBCORE_EXPORT void (*wkSetCookieStoragePrivateBrowsingEnabled)(BOOL);
</span><span class="cx"> WEBCORE_EXPORT CFHTTPMessageRef (*wkCopyCONNECTProxyResponse)(CFReadStreamRef, CFURLRef responseURL, CFStringRef proxyHost, CFNumberRef proxyPort);
</span><ins>+WEBCORE_EXPORT bool (*wkExecutableWasLinkedOnOrAfterIOSVersion)(int);
+WEBCORE_EXPORT int (*wkGetDeviceClass)(void);
+WEBCORE_EXPORT CGSize (*wkGetScreenSize)(void);
+WEBCORE_EXPORT CGSize (*wkGetAvailableScreenSize)(void);
</ins><span class="cx"> WEBCORE_EXPORT void (*wkSetLayerContentsScale)(CALayer *);
</span><ins>+WEBCORE_EXPORT float (*wkGetScreenScaleFactor)(void);
+WEBCORE_EXPORT bool (*wkIsGB18030ComplianceRequired)(void);
</ins><span class="cx"> WEBCORE_EXPORT void (*wkCFURLRequestAllowAllPostCaching)(CFURLRequestRef);
</span><span class="cx"> WEBCORE_EXPORT CFArrayRef (*wkCopyNSURLResponseCertificateChain)(NSURLResponse*);
</span><span class="cx"> WEBCORE_EXPORT CFStringEncoding (*wkGetWebDefaultCFStringEncoding)(void);
</span><span class="lines">@@ -98,6 +104,14 @@
</span><span class="cx"> WEBCORE_EXPORT CFStringRef (*wkCachePartitionKey)(void);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+WEBCORE_EXPORT CFStringRef (*wkGetUserAgent)(void);
+WEBCORE_EXPORT CFStringRef (*wkGetDeviceName)(void);
+WEBCORE_EXPORT CFStringRef (*wkGetOSNameForUserAgent)(void);
+WEBCORE_EXPORT CFStringRef (*wkGetPlatformNameForNavigator)(void);
+WEBCORE_EXPORT CFStringRef (*wkGetVendorNameForNavigator)(void);
+
+WEBCORE_EXPORT bool (*wkIsOptimizedFullscreenSupported)(void);
+
</ins><span class="cx"> WEBCORE_EXPORT int (*wkExernalDeviceTypeForPlayer)(AVPlayer *);
</span><span class="cx"> WEBCORE_EXPORT NSString *(*wkExernalDeviceDisplayNameForPlayer)(AVPlayer *);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformiosWebVideoFullscreenInterfaceAVKith"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -158,8 +158,6 @@
</span><span class="cx">     void doEnterFullscreen();
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-bool supportsPictureInPicture();
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformiosWebVideoFullscreenInterfaceAVKitmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -26,10 +26,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &quot;config.h&quot;
</span><span class="cx"> 
</span><del>-#if PLATFORM(IOS)
</del><ins>+#if PLATFORM(IOS) &amp;&amp; HAVE(AVKIT)
</ins><span class="cx"> 
</span><del>-#if HAVE(AVKIT)
-
</del><span class="cx"> #import &quot;WebVideoFullscreenInterfaceAVKit.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #import &quot;AVKitSPI.h&quot;
</span><span class="lines">@@ -59,7 +57,6 @@
</span><span class="cx"> SOFT_LINK_CONSTANT(AVFoundation, AVLayerVideoGravityResizeAspectFill, NSString *)
</span><span class="cx"> 
</span><span class="cx"> SOFT_LINK_FRAMEWORK(AVKit)
</span><del>-SOFT_LINK_CLASS(AVKit, AVPictureInPictureController)
</del><span class="cx"> SOFT_LINK_CLASS(AVKit, AVPlayerController)
</span><span class="cx"> SOFT_LINK_CLASS(AVKit, AVPlayerViewController)
</span><span class="cx"> SOFT_LINK_CLASS(AVKit, AVValueTiming)
</span><span class="lines">@@ -1305,7 +1302,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool WebVideoFullscreenInterfaceAVKit::mayAutomaticallyShowVideoPictureInPicture() const
</span><span class="cx"> {
</span><del>-    return [m_playerController isPlaying] &amp;&amp; m_mode == HTMLMediaElementEnums::VideoFullscreenModeStandard &amp;&amp; supportsPictureInPicture();
</del><ins>+    return [m_playerController isPlaying] &amp;&amp; m_mode == HTMLMediaElementEnums::VideoFullscreenModeStandard &amp;&amp; wkIsOptimizedFullscreenSupported();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebVideoFullscreenInterfaceAVKit::fullscreenMayReturnToInline(std::function&lt;void(bool)&gt; callback)
</span><span class="lines">@@ -1441,15 +1438,4 @@
</span><span class="cx">         m_videoFullscreenModel-&gt;fullscreenModeChanged(m_mode);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-#endif // HAVE(AVKIT)
-
-bool WebCore::supportsPictureInPicture()
-{
-#if PLATFORM(IOS) &amp;&amp; HAVE(AVKIT)
-    return [getAVPictureInPictureControllerClass() isPictureInPictureSupported];
-#else
-    return false;
</del><span class="cx"> #endif
</span><del>-}
-
-#endif // PLATFORM(IOS)
</del></span></pre></div>
<a id="trunkSourceWebCoreplatformioswakWAKWindowmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> 
</span><span class="cx"> #import &quot;LegacyTileCache.h&quot;
</span><del>-#import &quot;PlatformScreen.h&quot;
</del><span class="cx"> #import &quot;WAKViewInternal.h&quot;
</span><span class="cx"> #import &quot;WebCoreSystemInterface.h&quot;
</span><span class="cx"> #import &quot;WebCoreThreadRun.h&quot;
</span><span class="lines">@@ -68,7 +67,7 @@
</span><span class="cx">     _hostLayer = [layer retain];
</span><span class="cx"> 
</span><span class="cx">     _frame = [_hostLayer frame];
</span><del>-    _screenScale = screenScaleFactor();
</del><ins>+    _screenScale = wkGetScreenScaleFactor();
</ins><span class="cx">     
</span><span class="cx">     _tileCache = new LegacyTileCache(self);
</span><span class="cx"> 
</span><span class="lines">@@ -87,7 +86,7 @@
</span><span class="cx">         return nil;
</span><span class="cx"> 
</span><span class="cx">     _frame = frame;
</span><del>-    _screenScale = screenScaleFactor();
</del><ins>+    _screenScale = wkGetScreenScaleFactor();
</ins><span class="cx"> 
</span><span class="cx">     _exposedScrollViewRect = CGRectNull;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformioswakWKGraphicsmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/wak/WKGraphics.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/wak/WKGraphics.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/ios/wak/WKGraphics.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> 
</span><span class="cx"> #import &quot;CoreGraphicsSPI.h&quot;
</span><span class="cx"> #import &quot;FontCascade.h&quot;
</span><del>-#import &quot;PlatformScreen.h&quot;
</del><ins>+#import &quot;WebCoreSystemInterface.h&quot;
</ins><span class="cx"> #import &quot;WebCoreThread.h&quot;
</span><span class="cx"> #import &lt;ImageIO/ImageIO.h&gt;
</span><span class="cx"> #import &lt;wtf/StdLibExtras.h&gt;
</span><span class="lines">@@ -113,9 +113,9 @@
</span><span class="cx"> 
</span><span class="cx">     CGImageRef image = nullptr;
</span><span class="cx">     NSData *imageData = nullptr;
</span><del>-    for (unsigned scaleFactor = screenScaleFactor(); scaleFactor &gt; 0; --scaleFactor) {
</del><ins>+    for (unsigned scaleFactor = wkGetScreenScaleFactor(); scaleFactor &gt; 0; --scaleFactor) {
</ins><span class="cx">         imageData = [NSData dataWithContentsOfFile:imageResourcePath(image_file, scaleFactor)];
</span><del>-        ASSERT(scaleFactor != screenScaleFactor() || imageData);
</del><ins>+        ASSERT(scaleFactor != wkGetScreenScaleFactor() || imageData);
</ins><span class="cx">         if (imageData)
</span><span class="cx">             break;
</span><span class="cx">     }
</span><span class="lines">@@ -131,7 +131,7 @@
</span><span class="cx"> static void WKDrawPatternBitmap(void *info, CGContextRef c) 
</span><span class="cx"> {
</span><span class="cx">     CGImageRef image = (CGImageRef)info;
</span><del>-    CGFloat scale = screenScaleFactor();
</del><ins>+    CGFloat scale = wkGetScreenScaleFactor();
</ins><span class="cx">     CGContextDrawImage(c, CGRectMake(0, 0, CGImageGetWidth(image) / scale, CGImageGetHeight(image) / scale), image);    
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -150,7 +150,7 @@
</span><span class="cx">     // retain image since it's freed by our callback
</span><span class="cx">     CGImageRetain(imageRef);
</span><span class="cx"> 
</span><del>-    CGFloat scale = screenScaleFactor();
</del><ins>+    CGFloat scale = wkGetScreenScaleFactor();
</ins><span class="cx">     return CGPatternCreate((void*)imageRef, CGRectMake(0, 0, CGImageGetWidth(imageRef) / scale, CGImageGetHeight(imageRef) / scale), CGAffineTransformIdentity, CGImageGetWidth(imageRef) / scale, CGImageGetHeight(imageRef) / scale, kCGPatternTilingConstantSpacing, 1 /*isColored*/, &amp;WKPatternBitmapCallbacks);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacWebCoreSystemInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -28,6 +28,10 @@
</span><span class="cx"> 
</span><span class="cx"> #include &lt;objc/objc.h&gt;
</span><span class="cx"> 
</span><ins>+#if PLATFORM(IOS)
+#include &quot;WebCoreSystemInterfaceIOS.h&quot;
+#endif
+
</ins><span class="cx"> typedef const struct __CFString * CFStringRef;
</span><span class="cx"> typedef const struct __CFNumber * CFNumberRef;
</span><span class="cx"> typedef const struct __CFDictionary * CFDictionaryRef;
</span><span class="lines">@@ -233,7 +237,10 @@
</span><span class="cx"> #endif // !PLATFORM(IOS)
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><ins>+extern CGSize (*wkGetScreenSize)(void);
+extern CGSize (*wkGetAvailableScreenSize)(void);
</ins><span class="cx"> extern void (*wkSetLayerContentsScale)(CALayer *);
</span><ins>+extern float (*wkGetScreenScaleFactor)(void);
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> typedef const struct __CFURLStorageSession* CFURLStorageSessionRef;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformspicocoaDynamicLinkerSPIh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/spi/cocoa/DynamicLinkerSPI.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/cocoa/DynamicLinkerSPI.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/spi/cocoa/DynamicLinkerSPI.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -35,11 +35,8 @@
</span><span class="cx"> #else
</span><span class="cx"> 
</span><span class="cx"> #define DYLD_IOS_VERSION_3_0 0x00030000
</span><del>-#define DYLD_IOS_VERSION_4_2 0x00040200
-#define DYLD_IOS_VERSION_5_0 0x00050000
-#define DYLD_IOS_VERSION_6_0 0x00060000
-#define DYLD_IOS_VERSION_7_0 0x00070000
-#define DYLD_IOS_VERSION_9_0 0x00090000
</del><ins>+#define DYLD_IOS_VERSION_6_0 0x00060000;
+#define DYLD_IOS_VERSION_7_0 0x00070000;
</ins><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformspiiosMobileGestaltSPIh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/spi/ios/MobileGestaltSPI.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -41,21 +41,7 @@
</span><span class="cx"> EXTERN_C const CFStringRef kMGQAppleInternalInstallCapability = CFSTR(&quot;apple-internal-install&quot;);
</span><span class="cx"> EXTERN_C const CFStringRef kMGQMainScreenPitch = CFSTR(&quot;main-screen-pitch&quot;);
</span><span class="cx"> EXTERN_C const CFStringRef kMGQMainScreenScale = CFSTR(&quot;main-screen-scale&quot;);
</span><del>-EXTERN_C const CFStringRef kMGQiPadCapability = CFSTR(&quot;ipad&quot;);
-EXTERN_C const CFStringRef kMGQDeviceName = CFSTR(&quot;DeviceName&quot;);
-EXTERN_C const CFStringRef kMGQDeviceClassNumber = CFSTR(&quot;DeviceClassNumber&quot;);
</del><span class="cx"> 
</span><del>-typedef enum {
-    MGDeviceClassInvalid = -1,
-    /* 0 is intentionally not in this enum */
-    MGDeviceClassiPhone  = 1,
-    MGDeviceClassiPod    = 2,
-    MGDeviceClassiPad    = 3,
-    MGDeviceClassAppleTV = 4,
-    /* 5 is intentionally not in this enum */
-    MGDeviceClassWatch   = 6,
-} MGDeviceClass;
-
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> EXTERN_C CFTypeRef MGCopyAnswer(CFStringRef question, CFDictionaryRef options);
</span><span class="lines">@@ -64,14 +50,6 @@
</span><span class="cx"> EXTERN_C bool MGGetBoolAnswer(CFStringRef question);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#ifndef MGGetSInt32Answer
-EXTERN_C SInt32 MGGetSInt32Answer(CFStringRef question, SInt32 defaultValue);
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#ifndef MGGetFloat32Answer
-EXTERN_C Float32 MGGetFloat32Answer(CFStringRef question, Float32 defaultValue);
-#endif
-
-#endif
-
</del><span class="cx"> #endif // MobileGestaltSPI_h
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformspiiosUIColorSPIhfromrev191902trunkSourceWebCoreplatformspiiosUIKitSPIh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/platform/spi/ios/UIColorSPI.h (from rev 191902, trunk/Source/WebCore/platform/spi/ios/UIKitSPI.h) (0 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/ios/UIColorSPI.h                                (rev 0)
+++ trunk/Source/WebCore/platform/spi/ios/UIColorSPI.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -0,0 +1,46 @@
</span><ins>+/*
+ * Copyright (C) 2015 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.
+ */
+
+#if USE(APPLE_INTERNAL_SDK)
+
+#import &lt;UIKit/UIInterface_Private.h&gt;
+
+#else
+
+#import &lt;UIKit/UIColor.h&gt;
+
+@interface UIColor ()
+
++ (UIColor *)systemBlueColor;
++ (UIColor *)systemGrayColor;
++ (UIColor *)systemGreenColor;
++ (UIColor *)systemOrangeColor;
++ (UIColor *)systemPinkColor;
++ (UIColor *)systemRedColor;
++ (UIColor *)systemYellowColor;
+
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformspiiosUIKitSPIh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/platform/spi/ios/UIKitSPI.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/ios/UIKitSPI.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/platform/spi/ios/UIKitSPI.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-/*
- * Copyright (C) 2015 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.
- */
-
-#if USE(APPLE_INTERNAL_SDK)
-
-#import &lt;UIKit/UIApplication_Private.h&gt;
-#import &lt;UIKit/UIInterface_Private.h&gt;
-#import &lt;UIKit/UIScreen_Private.h&gt;
-
-#else
-
-#import &lt;UIKit/UIKit.h&gt;
-
-@interface UIApplication ()
-
-- (BOOL)_isClassic;
-
-@end
-
-@interface UIColor ()
-
-+ (UIColor *)systemBlueColor;
-+ (UIColor *)systemGrayColor;
-+ (UIColor *)systemGreenColor;
-+ (UIColor *)systemOrangeColor;
-+ (UIColor *)systemPinkColor;
-+ (UIColor *)systemRedColor;
-+ (UIColor *)systemYellowColor;
-
-@end
-
-@interface UIScreen ()
-
-@property (nonatomic, readonly) CGRect _referenceBounds;
-
-@end
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderThemeIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderThemeIOS.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderThemeIOS.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebCore/rendering/RenderThemeIOS.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx"> #import &quot;RenderThemeIOS.h&quot;
</span><span class="cx"> #import &quot;RenderView.h&quot;
</span><span class="cx"> #import &quot;SoftLinking.h&quot;
</span><del>-#import &quot;UIKitSPI.h&quot;
</del><ins>+#import &quot;UIColorSPI.h&quot;
</ins><span class="cx"> #import &quot;UserAgentScripts.h&quot;
</span><span class="cx"> #import &quot;UserAgentStyleSheets.h&quot;
</span><span class="cx"> #import &quot;WebCoreThreadRun.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebKitiosChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/ChangeLog (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/ChangeLog        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit/ios/ChangeLog        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-11-02  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r191902.
+        https://bugs.webkit.org/show_bug.cgi?id=150811
+
+        This change broke iOS builders (Requested by ryanhaddad on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Replace iOS-only WebKitSystemInterface calls with SPI&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=150763
+        http://trac.webkit.org/changeset/191902
+
</ins><span class="cx"> 2015-10-31  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Replace iOS-only WebKitSystemInterface calls with SPI
</span></span></pre></div>
<a id="trunkSourceWebKitiosMiscWebUIKitSupportmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -33,10 +33,8 @@
</span><span class="cx"> #import &quot;WebPlatformStrategies.h&quot;
</span><span class="cx"> #import &quot;WebSystemInterface.h&quot;
</span><span class="cx"> #import &quot;WebViewPrivate.h&quot;
</span><del>-#import &lt;WebCore/DynamicLinkerSPI.h&gt;
</del><span class="cx"> #import &lt;WebCore/PathUtilities.h&gt;
</span><span class="cx"> #import &lt;WebCore/ResourceRequest.h&gt;
</span><del>-#import &lt;WebCore/Settings.h&gt;
</del><span class="cx"> #import &lt;WebCore/TextBreakIterator.h&gt;
</span><span class="cx"> #import &lt;WebCore/WebCoreSystemInterface.h&gt;
</span><span class="cx"> #import &lt;WebCore/WebCoreThreadSystemInterface.h&gt;
</span><span class="lines">@@ -48,7 +46,7 @@
</span><span class="cx"> 
</span><span class="cx"> static inline bool linkedOnOrAfterIOS5()
</span><span class="cx"> {
</span><del>-    static bool s_linkedOnOrAfterIOS5 = dyld_get_program_sdk_version() &gt;= DYLD_IOS_VERSION_5_0;
</del><ins>+    static bool s_linkedOnOrAfterIOS5 = iosExecutableWasLinkedOnOrAfterVersion(wkIOSSystemVersion_5_0);
</ins><span class="cx">     return s_linkedOnOrAfterIOS5;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -85,7 +83,7 @@
</span><span class="cx"> 
</span><span class="cx"> float WebKitGetMinimumZoomFontSize(void)
</span><span class="cx"> {
</span><del>-    return Settings::defaultMinimumZoomFontSize();
</del><ins>+    return WKGetMinimumZoomFontSize();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> int WebKitGetLastLineBreakInBuffer(UChar *characters, int position, int length)
</span></span></pre></div>
<a id="trunkSourceWebKitiosWebCoreSupportWebChromeClientIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit/ios/WebCoreSupport/WebChromeClientIOS.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -54,7 +54,6 @@
</span><span class="cx"> #import &lt;WebCore/HTMLNames.h&gt;
</span><span class="cx"> #import &lt;WebCore/IntRect.h&gt;
</span><span class="cx"> #import &lt;WebCore/Node.h&gt;
</span><del>-#import &lt;WebCore/PlatformScreen.h&gt;
</del><span class="cx"> #import &lt;WebCore/RenderBox.h&gt;
</span><span class="cx"> #import &lt;WebCore/RenderObject.h&gt;
</span><span class="cx"> #import &lt;WebCore/RuntimeApplicationChecksIOS.h&gt;
</span><span class="lines">@@ -62,6 +61,10 @@
</span><span class="cx"> #import &lt;WebCore/WAKWindow.h&gt;
</span><span class="cx"> #import &lt;WebCore/WebCoreThreadMessage.h&gt;
</span><span class="cx"> 
</span><ins>+#if PLATFORM(IOS)
+#include &quot;WebKitSystemInterface.h&quot;
+#endif
+
</ins><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><span class="cx"> void WebChromeClientIOS::setWindowRect(const WebCore::FloatRect&amp; r)
</span><span class="lines">@@ -171,7 +174,7 @@
</span><span class="cx"> 
</span><span class="cx"> FloatSize WebChromeClientIOS::screenSize() const
</span><span class="cx"> {
</span><del>-    return FloatSize(screenSize());
</del><ins>+    return FloatSize(WKGetScreenSize());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> FloatSize WebChromeClientIOS::availableScreenSize() const
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit/mac/ChangeLog        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-11-02  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r191902.
+        https://bugs.webkit.org/show_bug.cgi?id=150811
+
+        This change broke iOS builders (Requested by ryanhaddad on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Replace iOS-only WebKitSystemInterface calls with SPI&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=150763
+        http://trac.webkit.org/changeset/191902
+
</ins><span class="cx"> 2015-10-31  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Replace iOS-only WebKitSystemInterface calls with SPI
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebSystemInterfacemm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebSystemInterface.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -111,6 +111,16 @@
</span><span class="cx">     INIT(QTClearMediaDownloadCache);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+#if PLATFORM(IOS)
+    INIT(ExecutableWasLinkedOnOrAfterIOSVersion);
+    INIT(GetDeviceClass);
+    INIT(GetScreenSize);
+    INIT(GetAvailableScreenSize);
+    INIT(GetScreenScaleFactor);
+    INIT(IsGB18030ComplianceRequired);
+    INIT(IsOptimizedFullscreenSupported);
+#endif
+
</ins><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx">     INIT(ExecutableWasLinkedOnOrBeforeSnowLeopard);
</span><span class="cx">     INIT(CopyDefaultSearchProviderDisplayName);
</span><span class="lines">@@ -160,6 +170,14 @@
</span><span class="cx"> 
</span><span class="cx">     INIT(CFURLRequestAllowAllPostCaching);
</span><span class="cx"> 
</span><ins>+#if PLATFORM(IOS)
+    INIT(GetUserAgent);
+    INIT(GetDeviceName);
+    INIT(GetOSNameForUserAgent);
+    INIT(GetPlatformNameForNavigator);
+    INIT(GetVendorNameForNavigator);
+#endif
+
</ins><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx">     INIT(NSElasticDeltaForTimeDelta);
</span><span class="cx">     INIT(NSElasticDeltaForReboundDelta);
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebPreferencesmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebPreferences.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit/mac/WebView/WebPreferences.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -59,7 +59,6 @@
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> #import &lt;AudioToolbox/AudioSession.h&gt;
</span><del>-#import &lt;WebCore/Device.h&gt;
</del><span class="cx"> #import &lt;WebCore/GraphicsContext.h&gt;
</span><span class="cx"> #import &lt;WebCore/ImageSource.h&gt;
</span><span class="cx"> #import &lt;WebCore/WebCoreThreadMessage.h&gt;
</span><span class="lines">@@ -397,7 +396,7 @@
</span><span class="cx">     WTF::initializeMainThreadToProcessMainThread();
</span><span class="cx">     RunLoop::initializeMainRunLoop();
</span><span class="cx"> #else
</span><del>-    bool allowsInlineMediaPlayback = WebCore::deviceClass() == MGDeviceClassiPad;
</del><ins>+    bool allowsInlineMediaPlayback = WKGetDeviceClass() == WKDeviceClassiPad;
</ins><span class="cx">     bool requiresPlaysInlineAttribute = !allowsInlineMediaPlayback;
</span><span class="cx"> #endif
</span><span class="cx">     InitWebCoreSystemInterface();
</span><span class="lines">@@ -577,7 +576,7 @@
</span><span class="cx">         @&quot;&quot;,                              WebKitNetworkInterfaceNamePreferenceKey,
</span><span class="cx"> #endif
</span><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><del>-        [NSNumber numberWithFloat:Settings::defaultMinimumZoomFontSize()], WebKitMinimumZoomFontSizePreferenceKey,
</del><ins>+        [NSNumber numberWithFloat:WKGetMinimumZoomFontSize()], WebKitMinimumZoomFontSizePreferenceKey,
</ins><span class="cx"> #endif
</span><span class="cx">         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheTotalQuota,
</span><span class="cx">         [NSNumber numberWithLongLong:ApplicationCacheStorage::noQuota()], WebKitApplicationCacheDefaultOriginQuota,
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -243,7 +243,6 @@
</span><span class="cx"> #import &quot;WebStorageManagerPrivate.h&quot;
</span><span class="cx"> #import &quot;WebUIKitSupport.h&quot;
</span><span class="cx"> #import &quot;WebVisiblePosition.h&quot;
</span><del>-#import &lt;WebCore/DynamicLinkerSPI.h&gt;
</del><span class="cx"> #import &lt;WebCore/EventNames.h&gt;
</span><span class="cx"> #import &lt;WebCore/FontCache.h&gt;
</span><span class="cx"> #import &lt;WebCore/GraphicsLayer.h&gt;
</span><span class="lines">@@ -251,7 +250,6 @@
</span><span class="cx"> #import &lt;WebCore/LegacyTileCache.h&gt;
</span><span class="cx"> #import &lt;WebCore/MobileGestaltSPI.h&gt;
</span><span class="cx"> #import &lt;WebCore/NetworkStateNotifier.h&gt;
</span><del>-#import &lt;WebCore/PlatformScreen.h&gt;
</del><span class="cx"> #import &lt;WebCore/RuntimeApplicationChecksIOS.h&gt;
</span><span class="cx"> #import &lt;WebCore/SQLiteDatabaseTracker.h&gt;
</span><span class="cx"> #import &lt;WebCore/SmartReplace.h&gt;
</span><span class="lines">@@ -852,7 +850,7 @@
</span><span class="cx"> static bool shouldAllowPictureInPictureMediaPlayback()
</span><span class="cx"> {
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-    static bool shouldAllowPictureInPictureMediaPlayback = dyld_get_program_sdk_version() &gt;= DYLD_IOS_VERSION_9_0;
</del><ins>+    static bool shouldAllowPictureInPictureMediaPlayback = iosExecutableWasLinkedOnOrAfterVersion(wkIOSSystemVersion_9_0);
</ins><span class="cx">     return shouldAllowPictureInPictureMediaPlayback;
</span><span class="cx"> #else
</span><span class="cx">     return false;
</span><span class="lines">@@ -5400,7 +5398,7 @@
</span><span class="cx">     if (WAKWindow *window = [self window])
</span><span class="cx">         scaleFactor = [window screenScale];
</span><span class="cx">     else
</span><del>-        scaleFactor = screenScaleFactor();
</del><ins>+        scaleFactor = WKGetScreenScaleFactor();
</ins><span class="cx"> 
</span><span class="cx">     _private-&gt;page-&gt;setDeviceScaleFactor(scaleFactor);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/ChangeLog        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-11-02  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
+        Unreviewed, rolling out r191902.
+        https://bugs.webkit.org/show_bug.cgi?id=150811
+
+        This change broke iOS builders (Requested by ryanhaddad on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Replace iOS-only WebKitSystemInterface calls with SPI&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=150763
+        http://trac.webkit.org/changeset/191902
+
</ins><span class="cx"> 2015-10-31  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Replace iOS-only WebKitSystemInterface calls with SPI
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedWebPreferencesDefinitionsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/Shared/WebPreferencesDefinitions.h        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> #define DEFAULT_TEXT_AREAS_ARE_RESIZABLE false
</span><span class="cx"> #define DEFAULT_JAVASCRIPT_CAN_OPEN_WINDOWS_AUTOMATICALLY false
</span><span class="cx"> #define DEFAULT_SHOULD_RESPECT_IMAGE_ORIENTATION true
</span><del>-#define DEFAULT_MINIMUM_FONT_ZOOM_SIZE WebCore::Settings::defaultMinimumZoomFontSize()
</del><ins>+#define DEFAULT_MINIMUM_FONT_ZOOM_SIZE WKGetMinimumZoomFontSize()
</ins><span class="cx"> #define DEFAULT_PASSWORD_ECHO_ENABLED true
</span><span class="cx"> #define DEFAULT_ALLOWS_INLINE_MEDIA_PLAYBACK false
</span><span class="cx"> #define DEFAULT_INLINE_MEDIA_PLAYBACK_REQUIRES_PLAYS_INLINE_ATTRIBUTE true
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedWebPreferencesStorecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/WebPreferencesStore.cpp (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/WebPreferencesStore.cpp        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/Shared/WebPreferencesStore.cpp        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -33,6 +33,10 @@
</span><span class="cx"> #include &lt;WebCore/TextEncodingRegistry.h&gt;
</span><span class="cx"> #include &lt;wtf/NeverDestroyed.h&gt;
</span><span class="cx"> 
</span><ins>+#if PLATFORM(IOS)
+#import &lt;WebKitSystemInterfaceIOS.h&gt;
+#endif
+
</ins><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -104,7 +104,6 @@
</span><span class="cx"> #import &quot;WebVideoFullscreenManagerProxy.h&quot;
</span><span class="cx"> #import &lt;UIKit/UIApplication.h&gt;
</span><span class="cx"> #import &lt;WebCore/CoreGraphicsSPI.h&gt;
</span><del>-#import &lt;WebCore/DynamicLinkerSPI.h&gt;
</del><span class="cx"> #import &lt;WebCore/FrameLoaderTypes.h&gt;
</span><span class="cx"> #import &lt;WebCore/InspectorOverlay.h&gt;
</span><span class="cx"> #import &lt;WebCore/QuartzCoreSPI.h&gt;
</span><span class="lines">@@ -281,7 +280,7 @@
</span><span class="cx"> 
</span><span class="cx"> static bool shouldAllowPictureInPictureMediaPlayback()
</span><span class="cx"> {
</span><del>-    static bool shouldAllowPictureInPictureMediaPlayback = dyld_get_program_sdk_version() &gt;= DYLD_IOS_VERSION_9_0;
</del><ins>+    static bool shouldAllowPictureInPictureMediaPlayback = iosExecutableWasLinkedOnOrAfterVersion(wkIOSSystemVersion_9_0);
</ins><span class="cx">     return shouldAllowPictureInPictureMediaPlayback;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1137,7 +1136,7 @@
</span><span class="cx"> 
</span><span class="cx"> - (PassRefPtr&lt;WebKit::ViewSnapshot&gt;)_takeViewSnapshot
</span><span class="cx"> {
</span><del>-    float deviceScale = WebCore::screenScaleFactor();
</del><ins>+    float deviceScale = WKGetScreenScaleFactor();
</ins><span class="cx">     WebCore::FloatSize snapshotSize(self.bounds.size);
</span><span class="cx">     snapshotSize.scale(deviceScale, deviceScale);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> #import &quot;UIKitSPI.h&quot;
</span><del>-#import &lt;WebCore/Device.h&gt;
</del><ins>+#import &quot;WebKitSystemInterfaceIOS.h&quot;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> template&lt;typename T&gt; class LazyInitialized {
</span><span class="lines">@@ -109,7 +109,7 @@
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx">     _requiresUserActionForMediaPlayback = YES;
</span><span class="cx">     _allowsPictureInPictureMediaPlayback = YES;
</span><del>-    _allowsInlineMediaPlayback = WebCore::deviceClass() == MGDeviceClassiPad;
</del><ins>+    _allowsInlineMediaPlayback = WKGetDeviceClass() == WKDeviceClassiPad;
</ins><span class="cx">     _inlineMediaPlaybackRequiresPlaysInlineAttribute = !_allowsInlineMediaPlayback;
</span><span class="cx">     _mediaDataLoadsAutomatically = NO;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessiosWKContentViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> 
</span><span class="cx"> #import &quot;APIPageConfiguration.h&quot;
</span><del>-#import &quot;AccessibilityIOS.h&quot;
</del><span class="cx"> #import &quot;ApplicationStateTracker.h&quot;
</span><span class="cx"> #import &quot;PageClientImplIOS.h&quot;
</span><span class="cx"> #import &quot;RemoteLayerTreeDrawingAreaProxy.h&quot;
</span><span class="lines">@@ -45,6 +44,7 @@
</span><span class="cx"> #import &quot;WKWebViewInternal.h&quot;
</span><span class="cx"> #import &quot;WebFrameProxy.h&quot;
</span><span class="cx"> #import &quot;WebKit2Initialize.h&quot;
</span><ins>+#import &quot;WebKitSystemInterfaceIOS.h&quot;
</ins><span class="cx"> #import &quot;WebPageGroup.h&quot;
</span><span class="cx"> #import &quot;WebProcessPool.h&quot;
</span><span class="cx"> #import &quot;WebSystemInterface.h&quot;
</span><span class="lines">@@ -53,7 +53,6 @@
</span><span class="cx"> #import &lt;WebCore/FrameView.h&gt;
</span><span class="cx"> #import &lt;WebCore/InspectorOverlay.h&gt;
</span><span class="cx"> #import &lt;WebCore/NotImplemented.h&gt;
</span><del>-#import &lt;WebCore/PlatformScreen.h&gt;
</del><span class="cx"> #import &lt;WebCore/QuartzCoreSPI.h&gt;
</span><span class="cx"> #import &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #import &lt;wtf/RetainPtr.h&gt;
</span><span class="lines">@@ -189,7 +188,7 @@
</span><span class="cx"> 
</span><span class="cx">     _page = processPool.createWebPage(*_pageClient, WTF::move(configuration));
</span><span class="cx">     _page-&gt;initializeWebPage();
</span><del>-    _page-&gt;setIntrinsicDeviceScaleFactor(screenScaleFactor([UIScreen mainScreen]));
</del><ins>+    _page-&gt;setIntrinsicDeviceScaleFactor(WKGetScaleFactorForScreen([UIScreen mainScreen]));
</ins><span class="cx">     _page-&gt;setUseFixedLayout(true);
</span><span class="cx">     _page-&gt;setDelegatesScrolling(true);
</span><span class="cx"> 
</span><span class="lines">@@ -420,7 +419,7 @@
</span><span class="cx"> - (void)_updateForScreen:(UIScreen *)screen
</span><span class="cx"> {
</span><span class="cx">     ASSERT(screen);
</span><del>-    _page-&gt;setIntrinsicDeviceScaleFactor(screenScaleFactor(screen));
</del><ins>+    _page-&gt;setIntrinsicDeviceScaleFactor(WKGetScaleFactorForScreen(screen));
</ins><span class="cx">     [self _accessibilityRegisterUIProcessTokens];
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -430,23 +429,15 @@
</span><span class="cx">     [self _accessibilityRegisterUIProcessTokens];
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static void storeAccessibilityRemoteConnectionInformation(id element, pid_t pid, mach_port_t sendPort, NSUUID *uuid)
-{
-    // The accessibility bundle needs to know the uuid, pid and mach_port that this object will refer to.
-    objc_setAssociatedObject(element, (void*)[@&quot;ax-uuid&quot; hash], uuid, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-    objc_setAssociatedObject(element, (void*)[@&quot;ax-pid&quot; hash], @(pid), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-    objc_setAssociatedObject(element, (void*)[@&quot;ax-machport&quot; hash], @(sendPort), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-}
-
</del><span class="cx"> - (void)_accessibilityRegisterUIProcessTokens
</span><span class="cx"> {
</span><del>-    auto uuid = [NSUUID UUID];
-    NSData *remoteElementToken = newAccessibilityRemoteToken(uuid);
</del><ins>+    RetainPtr&lt;CFUUIDRef&gt; uuid = adoptCF(CFUUIDCreate(kCFAllocatorDefault));
+    NSData *remoteElementToken = WKAXRemoteToken(uuid.get());
</ins><span class="cx"> 
</span><span class="cx">     // Store information about the WebProcess that can later be retrieved by the iOS Accessibility runtime.
</span><span class="cx">     if (_page-&gt;process().state() == WebProcessProxy::State::Running) {
</span><span class="cx">         IPC::Connection* connection = _page-&gt;process().connection();
</span><del>-        storeAccessibilityRemoteConnectionInformation(self, _page-&gt;process().processIdentifier(), connection-&gt;identifier().port, uuid);
</del><ins>+        WKAXStoreRemoteConnectionInformation(self, _page-&gt;process().processIdentifier(), connection-&gt;identifier().port, uuid.get());
</ins><span class="cx"> 
</span><span class="cx">         IPC::DataReference elementToken = IPC::DataReference(reinterpret_cast&lt;const uint8_t*&gt;([remoteElementToken bytes]), [remoteElementToken length]);
</span><span class="cx">         _page-&gt;registerUIProcessAccessibilityTokens(elementToken, elementToken);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessiosWKContentViewInteractionmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -72,6 +72,7 @@
</span><span class="cx"> #import &lt;WebCore/WebCoreNSURLExtras.h&gt;
</span><span class="cx"> #import &lt;WebCore/WebEvent.h&gt;
</span><span class="cx"> #import &lt;WebKit/WebSelectionRect.h&gt; // FIXME: WK2 should not include WebKit headers!
</span><ins>+#import &lt;WebKitSystemInterfaceIOS.h&gt;
</ins><span class="cx"> #import &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> @interface UIEvent(UIEventInternal)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessiosWebPageProxyIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -40,12 +40,12 @@
</span><span class="cx"> #import &quot;UserData.h&quot;
</span><span class="cx"> #import &quot;ViewUpdateDispatcherMessages.h&quot;
</span><span class="cx"> #import &quot;WKBrowsingContextControllerInternal.h&quot;
</span><ins>+#import &quot;WebKitSystemInterfaceIOS.h&quot;
</ins><span class="cx"> #import &quot;WebPageMessages.h&quot;
</span><span class="cx"> #import &quot;WebProcessProxy.h&quot;
</span><span class="cx"> #import &quot;WebVideoFullscreenManagerProxy.h&quot;
</span><span class="cx"> #import &lt;WebCore/FrameView.h&gt;
</span><span class="cx"> #import &lt;WebCore/NotImplemented.h&gt;
</span><del>-#import &lt;WebCore/PlatformScreen.h&gt;
</del><span class="cx"> #import &lt;WebCore/SharedBuffer.h&gt;
</span><span class="cx"> #import &lt;WebCore/UserAgent.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -765,17 +765,17 @@
</span><span class="cx"> 
</span><span class="cx"> FloatSize WebPageProxy::screenSize()
</span><span class="cx"> {
</span><del>-    return WebCore::screenSize();
</del><ins>+    return FloatSize(WKGetScreenSize());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> FloatSize WebPageProxy::availableScreenSize()
</span><span class="cx"> {
</span><del>-    return WebCore::availableScreenSize();
</del><ins>+    return FloatSize(WKGetAvailableScreenSize());
</ins><span class="cx"> }
</span><span class="cx">     
</span><span class="cx"> float WebPageProxy::textAutosizingWidth()
</span><span class="cx"> {
</span><del>-    return WebCore::screenSize().width();
</del><ins>+    return WKGetScreenSize().width;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebPageProxy::dynamicViewportUpdateChangedTarget(double newScale, const WebCore::FloatPoint&amp; newScrollPosition, uint64_t dynamicViewportSizeUpdateID)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -1236,8 +1236,6 @@
</span><span class="cx">                 A118A9EF1907AD6F00F7C92B /* QuickLookDocumentData.h in Headers */ = {isa = PBXBuildFile; fileRef = A118A9ED1907AD6F00F7C92B /* QuickLookDocumentData.h */; };
</span><span class="cx">                 A118A9F21908B8EA00F7C92B /* _WKNSFileManagerExtras.mm in Sources */ = {isa = PBXBuildFile; fileRef = A118A9F01908B8EA00F7C92B /* _WKNSFileManagerExtras.mm */; };
</span><span class="cx">                 A118A9F31908B8EA00F7C92B /* _WKNSFileManagerExtras.h in Headers */ = {isa = PBXBuildFile; fileRef = A118A9F11908B8EA00F7C92B /* _WKNSFileManagerExtras.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                A182D5B41BE6BD250087A7CC /* AccessibilityIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = A182D5B21BE6BD250087A7CC /* AccessibilityIOS.mm */; };
-                A182D5B51BE6BD250087A7CC /* AccessibilityIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = A182D5B31BE6BD250087A7CC /* AccessibilityIOS.h */; };
</del><span class="cx">                 A1A4FE5A18DCE9FA00B5EA8A /* _WKDownload.h in Headers */ = {isa = PBXBuildFile; fileRef = A1A4FE5718DCE9FA00B5EA8A /* _WKDownload.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 A1A4FE5B18DCE9FA00B5EA8A /* _WKDownload.mm in Sources */ = {isa = PBXBuildFile; fileRef = A1A4FE5818DCE9FA00B5EA8A /* _WKDownload.mm */; };
</span><span class="cx">                 A1A4FE5C18DCE9FA00B5EA8A /* _WKDownloadInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = A1A4FE5918DCE9FA00B5EA8A /* _WKDownloadInternal.h */; };
</span><span class="lines">@@ -3462,8 +3460,6 @@
</span><span class="cx">                 A118A9ED1907AD6F00F7C92B /* QuickLookDocumentData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = QuickLookDocumentData.h; path = ios/QuickLookDocumentData.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A118A9F01908B8EA00F7C92B /* _WKNSFileManagerExtras.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = _WKNSFileManagerExtras.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A118A9F11908B8EA00F7C92B /* _WKNSFileManagerExtras.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKNSFileManagerExtras.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                A182D5B21BE6BD250087A7CC /* AccessibilityIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AccessibilityIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
-                A182D5B31BE6BD250087A7CC /* AccessibilityIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessibilityIOS.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 A1A4FE5718DCE9FA00B5EA8A /* _WKDownload.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKDownload.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A1A4FE5818DCE9FA00B5EA8A /* _WKDownload.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = _WKDownload.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A1A4FE5918DCE9FA00B5EA8A /* _WKDownloadInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKDownloadInternal.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -5962,15 +5958,6 @@
</span><span class="cx">                         path = mac;
</span><span class="cx">                         sourceTree = &quot;&lt;group&gt;&quot;;
</span><span class="cx">                 };
</span><del>-                A182D5B11BE6BCF40087A7CC /* ios */ = {
-                        isa = PBXGroup;
-                        children = (
-                                A182D5B31BE6BD250087A7CC /* AccessibilityIOS.h */,
-                                A182D5B21BE6BD250087A7CC /* AccessibilityIOS.mm */,
-                        );
-                        path = ios;
-                        sourceTree = &quot;&lt;group&gt;&quot;;
-                };
</del><span class="cx">                 A78CCDD5193AC9E3005ECC25 /* SandboxProfiles */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="lines">@@ -6744,7 +6731,6 @@
</span><span class="cx">                                 1AA2E51A12E4C05600BC4966 /* cg */,
</span><span class="cx">                                 3709504218A88CDE0087AE5D /* foundation */,
</span><span class="cx">                                 1AE00D6818327C1200087DD7 /* IPC */,
</span><del>-                                A182D5B11BE6BCF40087A7CC /* ios */,
</del><span class="cx">                                 1A7E814E1152D2240003695B /* mac */,
</span><span class="cx">                                 CE1A0BCA1A48E6C60054EF74 /* spi */,
</span><span class="cx">                                 51B15A7D138439B200321AD8 /* unix */,
</span><span class="lines">@@ -8162,7 +8148,6 @@
</span><span class="cx">                                 3760881F150413E900FC82C7 /* WebRenderObject.h in Headers */,
</span><span class="cx">                                 510AFFBA16542048001BA05E /* WebResourceLoader.h in Headers */,
</span><span class="cx">                                 51F060E01654317F00F3281B /* WebResourceLoaderMessages.h in Headers */,
</span><del>-                                A182D5B51BE6BD250087A7CC /* AccessibilityIOS.h in Headers */,
</del><span class="cx">                                 7C361D731927FA360036A59D /* WebScriptMessageHandler.h in Headers */,
</span><span class="cx">                                 D3B9484911FF4B6500032B39 /* WebSearchPopupMenu.h in Headers */,
</span><span class="cx">                                 1A4832D71A9CDF96008B4DFE /* WebsiteData.h in Headers */,
</span><span class="lines">@@ -9495,7 +9480,6 @@
</span><span class="cx">                                 1AC1336E18565D2B00F3EC05 /* APIPageHandle.cpp in Sources */,
</span><span class="cx">                                 7CE4D21F1A4914CA00C7F152 /* APIProcessPoolConfiguration.cpp in Sources */,
</span><span class="cx">                                 FED3C1DC1B447EAC00E0EB7F /* APISerializedScriptValueCocoa.mm in Sources */,
</span><del>-                                A182D5B41BE6BD250087A7CC /* AccessibilityIOS.mm in Sources */,
</del><span class="cx">                                 75A8D2E2187DEC1E00C39C9E /* APISession.cpp in Sources */,
</span><span class="cx">                                 1AFDE6611954E9B100C48FFA /* APISessionState.cpp in Sources */,
</span><span class="cx">                                 BCE2315E122C30CA00D5C35A /* APIURLRequest.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportmacWebSystemInterfacemm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -151,11 +151,28 @@
</span><span class="cx"> 
</span><span class="cx">         INIT(CFURLRequestAllowAllPostCaching);
</span><span class="cx"> 
</span><ins>+#if PLATFORM(IOS)
+        INIT(GetUserAgent);
+        INIT(GetDeviceName);
+        INIT(GetOSNameForUserAgent);
+        INIT(GetPlatformNameForNavigator);
+        INIT(GetVendorNameForNavigator);
+#endif
+
</ins><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx">         INIT(NSElasticDeltaForTimeDelta);
</span><span class="cx">         INIT(NSElasticDeltaForReboundDelta);
</span><span class="cx">         INIT(NSReboundDeltaForElasticDelta);
</span><span class="cx"> #endif
</span><ins>+#if PLATFORM(IOS)
+        INIT(ExecutableWasLinkedOnOrAfterIOSVersion);
+        INIT(GetDeviceClass);
+        INIT(GetScreenSize);
+        INIT(GetAvailableScreenSize);
+        INIT(GetScreenScaleFactor);
+        INIT(IsGB18030ComplianceRequired);
+        INIT(IsOptimizedFullscreenSupported);
+#endif
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(PUBLIC_SUFFIX_LIST)
</span><span class="cx">         INIT(IsPublicSuffix);
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageiosWebPageIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm (191902 => 191903)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2015-11-02 19:09:09 UTC (rev 191902)
+++ trunk/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm        2015-11-02 19:55:27 UTC (rev 191903)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> 
</span><del>-#import &quot;AccessibilityIOS.h&quot;
</del><span class="cx"> #import &quot;AssistedNodeInformation.h&quot;
</span><span class="cx"> #import &quot;DataReference.h&quot;
</span><span class="cx"> #import &quot;DrawingArea.h&quot;
</span><span class="lines">@@ -46,6 +45,7 @@
</span><span class="cx"> #import &quot;WebFrame.h&quot;
</span><span class="cx"> #import &quot;WebImage.h&quot;
</span><span class="cx"> #import &quot;WebKitSystemInterface.h&quot;
</span><ins>+#import &quot;WebKitSystemInterfaceIOS.h&quot;
</ins><span class="cx"> #import &quot;WebPageProxyMessages.h&quot;
</span><span class="cx"> #import &quot;WebProcess.h&quot;
</span><span class="cx"> #import &lt;CoreText/CTFont.h&gt;
</span><span class="lines">@@ -119,7 +119,9 @@
</span><span class="cx">     m_mockAccessibilityElement = adoptNS([[WKAccessibilityWebPageObject alloc] init]);
</span><span class="cx">     [m_mockAccessibilityElement setWebPage:this];
</span><span class="cx">     
</span><del>-    NSData *remoteToken = newAccessibilityRemoteToken([NSUUID UUID]);
</del><ins>+    RetainPtr&lt;CFUUIDRef&gt; uuid = adoptCF(CFUUIDCreate(kCFAllocatorDefault));
+    NSData *remoteToken = WKAXRemoteToken(uuid.get());
+    
</ins><span class="cx">     IPC::DataReference dataToken = IPC::DataReference(reinterpret_cast&lt;const uint8_t*&gt;([remoteToken bytes]), [remoteToken length]);
</span><span class="cx">     send(Messages::WebPageProxy::RegisterWebProcessAccessibilityToken(dataToken));
</span><span class="cx"> }
</span></span></pre>
</div>
</div>

</body>
</html>