<!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>[281737] 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/281737">281737</a></dd>
<dt>Author</dt> <dd>heycam@apple.com</dd>
<dt>Date</dt> <dd>2021-08-28 18:48:21 -0700 (Sat, 28 Aug 2021)</dd>
</dl>

<h3>Log Message</h3>
<pre>Miscellaneous typo fixes
https://bugs.webkit.org/show_bug.cgi?id=229642

Reviewed by Fujii Hironori.

Source/JavaScriptCore:

* API/JSValue.h:
* runtime/RegExp.cpp:
(JSC::RegExp::matchCompareWithInterpreter):

Source/WebCore:

* platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::isSupportedImageMIMEType):
* platform/graphics/cpu/arm/filters/FELightingNEON.cpp:
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::computeClipPath const):
* rendering/style/RenderStyle.cpp:
(WebCore::rareNonInheritedDataChangeRequiresLayout):

Source/WebKit:

* Platform/IPC/HandleMessage.h:
(IPC::callMemberFunction):
* Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::encodeArrayInternal):
* Shared/cf/ArgumentCodersCF.cpp:
(IPC::ArgumentCoder<CFArrayRef>::encode):

Source/WTF:

* wtf/CrossThreadTask.h:
(WTF::callMemberFunctionForCrossThreadTask):
* wtf/text/StringImpl.h:
(WTF::StringImpl::createSubstringSharingImpl):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreAPIJSValueh">trunk/Source/JavaScriptCore/API/JSValue.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeRegExpcpp">trunk/Source/JavaScriptCore/runtime/RegExp.cpp</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfCrossThreadTaskh">trunk/Source/WTF/wtf/CrossThreadTask.h</a></li>
<li><a href="#trunkSourceWTFwtftextStringImplh">trunk/Source/WTF/wtf/text/StringImpl.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreplatformMIMETypeRegistrycpp">trunk/Source/WebCore/platform/MIMETypeRegistry.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscpuarmfiltersFELightingNEONcpp">trunk/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayercpp">trunk/Source/WebCore/rendering/RenderLayer.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleRenderStylecpp">trunk/Source/WebCore/rendering/style/RenderStyle.cpp</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitPlatformIPCHandleMessageh">trunk/Source/WebKit/Platform/IPC/HandleMessage.h</a></li>
<li><a href="#trunkSourceWebKitSharedCocoaArgumentCodersCocoamm">trunk/Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm</a></li>
<li><a href="#trunkSourceWebKitSharedcfArgumentCodersCFcpp">trunk/Source/WebKit/Shared/cf/ArgumentCodersCF.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreAPIJSValueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/API/JSValue.h (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/API/JSValue.h        2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/JavaScriptCore/API/JSValue.h   2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -322,7 +322,7 @@
</span><span class="cx">  If the value is not an object then a JavaScript TypeError will be thrown.
</span><span class="cx">  The property <code>length</code> is read from the object, converted to an unsigned
</span><span class="cx">  integer, and an NSArray of this size is allocated. Properties corresponding
</span><del>- to indicies within the array bounds will be copied to the array, with
</del><ins>+ to indices within the array bounds will be copied to the array, with
</ins><span class="cx">  JSValues converted to equivalent Objective-C objects as specified.
</span><span class="cx"> @result The NSArray containing the recursively converted contents of the 
</span><span class="cx">  converted JavaScript array.
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog    2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/JavaScriptCore/ChangeLog       2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2021-08-28  Cameron McCormack  <heycam@apple.com>
+
+        Miscellaneous typo fixes
+        https://bugs.webkit.org/show_bug.cgi?id=229642
+
+        Reviewed by Fujii Hironori.
+
+        * API/JSValue.h:
+        * runtime/RegExp.cpp:
+        (JSC::RegExp::matchCompareWithInterpreter):
+
</ins><span class="cx"> 2021-08-27  Stephan Szabo  <stephan.szabo@sony.com>
</span><span class="cx"> 
</span><span class="cx">         [PlayStation][CMake] Add control over whether JavaScriptCore should be shared
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeRegExpcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/RegExp.cpp (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/RegExp.cpp   2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/JavaScriptCore/runtime/RegExp.cpp      2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -377,8 +377,8 @@
</span><span class="cx">     int differences = 0;
</span><span class="cx"> 
</span><span class="cx">     // Initialize interpreterOffsetVector with the return value (index 0) and the 
</span><del>-    // first subpattern start indicies (even index values) set to -1.
-    // No need to init the subpattern end indicies.
</del><ins>+    // first subpattern start indices (even index values) set to -1.
+    // No need to init the subpattern end indices.
</ins><span class="cx">     for (unsigned j = 0, i = 0; i < m_numSubpatterns + 1; j += 2, i++)
</span><span class="cx">         interpreterOffsetVector[j] = -1;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog       2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WTF/ChangeLog  2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2021-08-28  Cameron McCormack  <heycam@apple.com>
+
+        Miscellaneous typo fixes
+        https://bugs.webkit.org/show_bug.cgi?id=229642
+
+        Reviewed by Fujii Hironori.
+
+        * wtf/CrossThreadTask.h:
+        (WTF::callMemberFunctionForCrossThreadTask):
+        * wtf/text/StringImpl.h:
+        (WTF::StringImpl::createSubstringSharingImpl):
+
</ins><span class="cx"> 2021-08-28  David Kilzer  <ddkilzer@apple.com>
</span><span class="cx"> 
</span><span class="cx">         [WTF] Fix static analyzer warnings about nullptr derefs in StringImpl::copyCharacters() and tryMakeStringFromAdapters()
</span></span></pre></div>
<a id="trunkSourceWTFwtfCrossThreadTaskh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/CrossThreadTask.h (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/CrossThreadTask.h   2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WTF/wtf/CrossThreadTask.h      2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -81,10 +81,10 @@
</span><span class="cx">     (object->*function)(std::get<ArgsIndex>(std::forward<ArgsTuple>(args))...);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-template <typename C, typename MF, typename ArgsTuple, typename ArgsIndicies = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</del><ins>+template <typename C, typename MF, typename ArgsTuple, typename ArgsIndices = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</ins><span class="cx"> void callMemberFunctionForCrossThreadTask(C* object, MF function, ArgsTuple&& args)
</span><span class="cx"> {
</span><del>-    callMemberFunctionForCrossThreadTaskImpl(object, function, std::forward<ArgsTuple>(args), ArgsIndicies());
</del><ins>+    callMemberFunctionForCrossThreadTaskImpl(object, function, std::forward<ArgsTuple>(args), ArgsIndices());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> template<typename T, typename std::enable_if<std::is_base_of<ThreadSafeRefCountedBase, T>::value, int>::type = 0, typename... Parameters, typename... Arguments>
</span></span></pre></div>
<a id="trunkSourceWTFwtftextStringImplh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/text/StringImpl.h (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/text/StringImpl.h   2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WTF/wtf/text/StringImpl.h      2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -966,7 +966,7 @@
</span><span class="cx">     if (!length)
</span><span class="cx">         return *empty();
</span><span class="cx"> 
</span><del>-    // Coyping the thing would save more memory sometimes, largely due to the size of pointer.
</del><ins>+    // Copying the thing would save more memory sometimes, largely due to the size of pointer.
</ins><span class="cx">     size_t substringSize = allocationSize<StringImpl*>(1);
</span><span class="cx">     if (rep.is8Bit()) {
</span><span class="cx">         if (substringSize >= allocationSize<LChar>(length))
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog   2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebCore/ChangeLog      2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2021-08-28  Cameron McCormack  <heycam@apple.com>
+
+        Miscellaneous typo fixes
+        https://bugs.webkit.org/show_bug.cgi?id=229642
+
+        Reviewed by Fujii Hironori.
+
+        * platform/MIMETypeRegistry.cpp:
+        (WebCore::MIMETypeRegistry::isSupportedImageMIMEType):
+        * platform/graphics/cpu/arm/filters/FELightingNEON.cpp:
+        * rendering/RenderLayer.cpp:
+        (WebCore::RenderLayer::computeClipPath const):
+        * rendering/style/RenderStyle.cpp:
+        (WebCore::rareNonInheritedDataChangeRequiresLayout):
+
</ins><span class="cx"> 2021-08-28  Simon Fraser  <simon.fraser@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Zooming browser does not properly scale SVG clip paths
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformMIMETypeRegistrycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/MIMETypeRegistry.cpp (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/MIMETypeRegistry.cpp       2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebCore/platform/MIMETypeRegistry.cpp  2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -409,7 +409,7 @@
</span><span class="cx">         return false;
</span><span class="cx">     static constexpr SortedArraySet supportedImageMIMETypeSet { supportedImageMIMETypeArray };
</span><span class="cx"> #if USE(CG) && ASSERT_ENABLED
</span><del>-    // Esnure supportedImageMIMETypeArray matches defaultSupportedImageTypes().
</del><ins>+    // Ensure supportedImageMIMETypeArray matches defaultSupportedImageTypes().
</ins><span class="cx">     static std::once_flag onceFlag;
</span><span class="cx">     std::call_once(onceFlag, [] {
</span><span class="cx">         for (auto& imageType : defaultSupportedImageTypes()) {
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscpuarmfiltersFELightingNEONcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp        2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp   2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx">     // Alpha coefficients.
</span><span class="cx">     -2, 1, 0, -1, 2, 1, 0, -1,
</span><span class="cx">     0, -1, -2, -1, 0, 1, 2, 1,
</span><del>-    // Remapping indicies.
</del><ins>+    // Remapping indices.
</ins><span class="cx">     0x0f0e, 0x0302, 0x0504, 0x0706,
</span><span class="cx">     0x0b0a, 0x1312, 0x1514, 0x1716,
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayer.cpp   2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp      2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -3131,7 +3131,7 @@
</span><span class="cx"> Path RenderLayer::computeClipPath(const LayoutSize& offsetFromRoot, LayoutRect& rootRelativeBounds, WindRule& windRule) const
</span><span class="cx"> {
</span><span class="cx">     const RenderStyle& style = renderer().style();
</span><del>-    float deviceSaleFactor = renderer().document().deviceScaleFactor();
</del><ins>+    float deviceScaleFactor = renderer().document().deviceScaleFactor();
</ins><span class="cx"> 
</span><span class="cx">     if (is<ShapeClipPathOperation>(*style.clipPath())) {
</span><span class="cx">         auto& clipPath = downcast<ShapeClipPathOperation>(*style.clipPath());
</span><span class="lines">@@ -3143,7 +3143,7 @@
</span><span class="cx">         } else
</span><span class="cx">             referenceBox = rootRelativeBounds;
</span><span class="cx"> 
</span><del>-        FloatRect snappedReferenceBox = snapRectToDevicePixels(referenceBox, deviceSaleFactor);
</del><ins>+        FloatRect snappedReferenceBox = snapRectToDevicePixels(referenceBox, deviceScaleFactor);
</ins><span class="cx"> 
</span><span class="cx">         windRule = clipPath.windRule();
</span><span class="cx">         return clipPath.pathForReferenceRect(snappedReferenceBox);
</span><span class="lines">@@ -3152,7 +3152,7 @@
</span><span class="cx">     if (is<BoxClipPathOperation>(*style.clipPath()) && is<RenderBox>(renderer())) {
</span><span class="cx">         auto& clipPath = downcast<BoxClipPathOperation>(*style.clipPath());
</span><span class="cx"> 
</span><del>-        FloatRoundedRect shapeRect = computeRoundedRectForBoxShape(clipPath.referenceBox(), downcast<RenderBox>(renderer())).pixelSnappedRoundedRectForPainting(deviceSaleFactor);
</del><ins>+        FloatRoundedRect shapeRect = computeRoundedRectForBoxShape(clipPath.referenceBox(), downcast<RenderBox>(renderer())).pixelSnappedRoundedRectForPainting(deviceScaleFactor);
</ins><span class="cx">         shapeRect.move(offsetFromRoot);
</span><span class="cx"> 
</span><span class="cx">         windRule = WindRule::NonZero;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleRenderStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/RenderStyle.cpp (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/RenderStyle.cpp     2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.cpp        2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -724,7 +724,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CSS_COMPOSITING)
</span><span class="cx">     if (first.isolation != second.isolation) {
</span><del>-        // Ideally this would trigger a cheaper layout that just updates layer z-order trees (webit.org/b/190088).
</del><ins>+        // Ideally this would trigger a cheaper layout that just updates layer z-order trees (webkit.org/b/190088).
</ins><span class="cx">         return true;
</span><span class="cx">     }
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog    2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebKit/ChangeLog       2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2021-08-28  Cameron McCormack  <heycam@apple.com>
+
+        Miscellaneous typo fixes
+        https://bugs.webkit.org/show_bug.cgi?id=229642
+
+        Reviewed by Fujii Hironori.
+
+        * Platform/IPC/HandleMessage.h:
+        (IPC::callMemberFunction):
+        * Shared/Cocoa/ArgumentCodersCocoa.mm:
+        (IPC::encodeArrayInternal):
+        * Shared/cf/ArgumentCodersCF.cpp:
+        (IPC::ArgumentCoder<CFArrayRef>::encode):
+
</ins><span class="cx"> 2021-08-27  Cameron McCormack  <heycam@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Fix std::optional<> stripping in MessageArgumentDescriptions.cpp generator
</span></span></pre></div>
<a id="trunkSourceWebKitPlatformIPCHandleMessageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/Platform/IPC/HandleMessage.h (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/Platform/IPC/HandleMessage.h 2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebKit/Platform/IPC/HandleMessage.h    2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -43,10 +43,10 @@
</span><span class="cx">     (object->*function)(std::get<ArgsIndex>(std::forward<ArgsTuple>(args))...);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-template<typename C, typename MF, typename ArgsTuple, typename ArgsIndicies = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</del><ins>+template<typename C, typename MF, typename ArgsTuple, typename ArgsIndices = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</ins><span class="cx"> void callMemberFunction(ArgsTuple&& args, C* object, MF function)
</span><span class="cx"> {
</span><del>-    callMemberFunctionImpl(object, function, std::forward<ArgsTuple>(args), ArgsIndicies());
</del><ins>+    callMemberFunctionImpl(object, function, std::forward<ArgsTuple>(args), ArgsIndices());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // Dispatch functions with synchronous reply arguments.
</span><span class="lines">@@ -57,10 +57,10 @@
</span><span class="cx">     (object->*function)(std::get<ArgsIndex>(std::forward<ArgsTuple>(args))..., WTFMove(completionHandler));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-template<typename C, typename MF, typename CH, typename ArgsTuple, typename ArgsIndicies = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</del><ins>+template<typename C, typename MF, typename CH, typename ArgsTuple, typename ArgsIndices = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</ins><span class="cx"> void callMemberFunction(ArgsTuple&& args, CompletionHandler<CH>&& completionHandler, C* object, MF function)
</span><span class="cx"> {
</span><del>-    callMemberFunctionImpl(object, function, WTFMove(completionHandler), std::forward<ArgsTuple>(args), ArgsIndicies());
</del><ins>+    callMemberFunctionImpl(object, function, WTFMove(completionHandler), std::forward<ArgsTuple>(args), ArgsIndices());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // Dispatch functions with connection parameter with synchronous reply arguments.
</span><span class="lines">@@ -71,10 +71,10 @@
</span><span class="cx">     (object->*function)(connection, std::get<ArgsIndex>(std::forward<ArgsTuple>(args))..., WTFMove(completionHandler));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-template<typename C, typename MF, typename CH, typename ArgsTuple, typename ArgsIndicies = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</del><ins>+template<typename C, typename MF, typename CH, typename ArgsTuple, typename ArgsIndices = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</ins><span class="cx"> void callMemberFunction(Connection& connection, ArgsTuple&& args, CompletionHandler<CH>&& completionHandler, C* object, MF function)
</span><span class="cx"> {
</span><del>-    callMemberFunctionImpl(connection, object, function, WTFMove(completionHandler), std::forward<ArgsTuple>(args), ArgsIndicies());
</del><ins>+    callMemberFunctionImpl(connection, object, function, WTFMove(completionHandler), std::forward<ArgsTuple>(args), ArgsIndices());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // Dispatch functions with connection parameter with no reply arguments.
</span><span class="lines">@@ -85,10 +85,10 @@
</span><span class="cx">     (object->*function)(connection, std::get<ArgsIndex>(std::forward<ArgsTuple>(args))...);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-template<typename C, typename MF, typename ArgsTuple, typename ArgsIndicies = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</del><ins>+template<typename C, typename MF, typename ArgsTuple, typename ArgsIndices = std::make_index_sequence<std::tuple_size<ArgsTuple>::value>>
</ins><span class="cx"> void callMemberFunction(Connection& connection, ArgsTuple&& args, C* object, MF function)
</span><span class="cx"> {
</span><del>-    callMemberFunctionImpl(object, function, connection, std::forward<ArgsTuple>(args), ArgsIndicies());
</del><ins>+    callMemberFunctionImpl(object, function, connection, std::forward<ArgsTuple>(args), ArgsIndices());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // Main dispatch functions
</span></span></pre></div>
<a id="trunkSourceWebKitSharedCocoaArgumentCodersCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm  2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm     2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -236,7 +236,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    HashSet<NSUInteger> invalidIndicies;
</del><ins>+    HashSet<NSUInteger> invalidIndices;
</ins><span class="cx">     for (NSUInteger i = 0; i < array.count; ++i) {
</span><span class="cx">         id value = array[i];
</span><span class="cx"> 
</span><span class="lines">@@ -243,13 +243,13 @@
</span><span class="cx">         // Ignore values we don't support.
</span><span class="cx">         ASSERT(isSerializableValue(value));
</span><span class="cx">         if (!isSerializableValue(value))
</span><del>-            invalidIndicies.add(i);
</del><ins>+            invalidIndices.add(i);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    encoder << static_cast<uint64_t>(array.count - invalidIndicies.size());
</del><ins>+    encoder << static_cast<uint64_t>(array.count - invalidIndices.size());
</ins><span class="cx"> 
</span><span class="cx">     for (NSUInteger i = 0; i < array.count; ++i) {
</span><del>-        if (invalidIndicies.contains(i))
</del><ins>+        if (invalidIndices.contains(i))
</ins><span class="cx">             continue;
</span><span class="cx">         encodeObject(encoder, array[i]);
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebKitSharedcfArgumentCodersCFcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/Shared/cf/ArgumentCodersCF.cpp (281736 => 281737)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/Shared/cf/ArgumentCodersCF.cpp       2021-08-29 01:31:55 UTC (rev 281736)
+++ trunk/Source/WebKit/Shared/cf/ArgumentCodersCF.cpp  2021-08-29 01:48:21 UTC (rev 281737)
</span><span class="lines">@@ -327,18 +327,18 @@
</span><span class="cx"> 
</span><span class="cx">     CFArrayGetValues(array, CFRangeMake(0, size), values.data());
</span><span class="cx"> 
</span><del>-    HashSet<CFIndex> invalidIndicies;
</del><ins>+    HashSet<CFIndex> invalidIndices;
</ins><span class="cx">     for (CFIndex i = 0; i < size; ++i) {
</span><span class="cx">         // Ignore values we don't support.
</span><span class="cx">         ASSERT(typeFromCFTypeRef(values[i]) != CFType::Unknown);
</span><span class="cx">         if (typeFromCFTypeRef(values[i]) == CFType::Unknown)
</span><del>-            invalidIndicies.add(i);
</del><ins>+            invalidIndices.add(i);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><del>-    encoder << static_cast<uint64_t>(size - invalidIndicies.size());
</del><ins>+    encoder << static_cast<uint64_t>(size - invalidIndices.size());
</ins><span class="cx"> 
</span><span class="cx">     for (CFIndex i = 0; i < size; ++i) {
</span><del>-        if (invalidIndicies.contains(i))
</del><ins>+        if (invalidIndices.contains(i))
</ins><span class="cx">             continue;
</span><span class="cx">         encoder << values[i];
</span><span class="cx">     }
</span></span></pre>
</div>
</div>

</body>
</html>