<!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>[160344] 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/160344">160344</a></dd>
<dt>Author</dt> <dd>weinig@apple.com</dd>
<dt>Date</dt> <dd>2013-12-09 17:28:05 -0800 (Mon, 09 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Replace use of WTF::FixedArray with std::array
https://bugs.webkit.org/show_bug.cgi?id=125475

Reviewed by Anders Carlsson.

../JavaScriptCore: 

* bytecode/CodeBlockHash.cpp:
(JSC::CodeBlockHash::dump):
* bytecode/Opcode.cpp:
(JSC::OpcodeStats::~OpcodeStats):
* dfg/DFGCSEPhase.cpp:
* ftl/FTLAbstractHeap.h:
* heap/MarkedSpace.h:
* parser/ParserArena.h:
* runtime/CodeCache.h:
* runtime/DateInstanceCache.h:
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::reset):
* runtime/JSGlobalObject.h:
* runtime/JSString.h:
* runtime/LiteralParser.h:
* runtime/NumericStrings.h:
* runtime/RegExpCache.h:
* runtime/SmallStrings.h:

../WebCore: 

* crypto/parameters/CryptoAlgorithmAesCbcParams.h:
* platform/graphics/GlyphMetricsMap.h:

../WTF: 

* wtf/AVLTree.h:
* wtf/Bitmap.h:
* wtf/SixCharacterHash.cpp:
(WTF::integerToSixCharacterHashString):
* wtf/SixCharacterHash.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeCodeBlockHashcpp">trunk/Source/JavaScriptCore/bytecode/CodeBlockHash.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeOpcodecpp">trunk/Source/JavaScriptCore/bytecode/Opcode.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoredfgDFGCSEPhasecpp">trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreftlFTLAbstractHeaph">trunk/Source/JavaScriptCore/ftl/FTLAbstractHeap.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreheapMarkedSpaceh">trunk/Source/JavaScriptCore/heap/MarkedSpace.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreparserParserArenah">trunk/Source/JavaScriptCore/parser/ParserArena.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeCodeCacheh">trunk/Source/JavaScriptCore/runtime/CodeCache.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeDateInstanceCacheh">trunk/Source/JavaScriptCore/runtime/DateInstanceCache.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSGlobalObjectcpp">trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSGlobalObjecth">trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSStringh">trunk/Source/JavaScriptCore/runtime/JSString.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeLiteralParserh">trunk/Source/JavaScriptCore/runtime/LiteralParser.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeNumericStringsh">trunk/Source/JavaScriptCore/runtime/NumericStrings.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeRegExpCacheh">trunk/Source/JavaScriptCore/runtime/RegExpCache.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeSmallStringsh">trunk/Source/JavaScriptCore/runtime/SmallStrings.h</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfAVLTreeh">trunk/Source/WTF/wtf/AVLTree.h</a></li>
<li><a href="#trunkSourceWTFwtfBitmaph">trunk/Source/WTF/wtf/Bitmap.h</a></li>
<li><a href="#trunkSourceWTFwtfSixCharacterHashcpp">trunk/Source/WTF/wtf/SixCharacterHash.cpp</a></li>
<li><a href="#trunkSourceWTFwtfSixCharacterHashh">trunk/Source/WTF/wtf/SixCharacterHash.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecryptoparametersCryptoAlgorithmAesCbcParamsh">trunk/Source/WebCore/crypto/parameters/CryptoAlgorithmAesCbcParams.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsGlyphMetricsMaph">trunk/Source/WebCore/platform/graphics/GlyphMetricsMap.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/ChangeLog        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -1,3 +1,29 @@
</span><ins>+2013-12-09  Sam Weinig  &lt;sam@webkit.org&gt;
+
+        Replace use of WTF::FixedArray with std::array
+        https://bugs.webkit.org/show_bug.cgi?id=125475
+
+        Reviewed by Anders Carlsson.
+
+        * bytecode/CodeBlockHash.cpp:
+        (JSC::CodeBlockHash::dump):
+        * bytecode/Opcode.cpp:
+        (JSC::OpcodeStats::~OpcodeStats):
+        * dfg/DFGCSEPhase.cpp:
+        * ftl/FTLAbstractHeap.h:
+        * heap/MarkedSpace.h:
+        * parser/ParserArena.h:
+        * runtime/CodeCache.h:
+        * runtime/DateInstanceCache.h:
+        * runtime/JSGlobalObject.cpp:
+        (JSC::JSGlobalObject::reset):
+        * runtime/JSGlobalObject.h:
+        * runtime/JSString.h:
+        * runtime/LiteralParser.h:
+        * runtime/NumericStrings.h:
+        * runtime/RegExpCache.h:
+        * runtime/SmallStrings.h:
+
</ins><span class="cx"> 2013-12-09  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove miscellaneous unnecessary build statements
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeCodeBlockHashcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/CodeBlockHash.cpp (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/CodeBlockHash.cpp        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/bytecode/CodeBlockHash.cpp        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> 
</span><span class="cx"> void CodeBlockHash::dump(PrintStream&amp; out) const
</span><span class="cx"> {
</span><del>-    FixedArray&lt;char, 7&gt; buffer = integerToSixCharacterHashString(m_hash);
</del><ins>+    std::array&lt;char, 7&gt; buffer = integerToSixCharacterHashString(m_hash);
</ins><span class="cx">     
</span><span class="cx"> #if !ASSERT_DISABLED
</span><span class="cx">     CodeBlockHash recompute(buffer.data());
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeOpcodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/Opcode.cpp (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/Opcode.cpp        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/bytecode/Opcode.cpp        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -31,8 +31,8 @@
</span><span class="cx"> #include &quot;Opcode.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(OPCODE_STATS)
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/DataLog.h&gt;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> using namespace std;
</span><span class="lines">@@ -102,7 +102,7 @@
</span><span class="cx">         for (int j = 0; j &lt; numOpcodeIDs; ++j)
</span><span class="cx">             totalInstructionPairs += opcodePairCounts[i][j];
</span><span class="cx"> 
</span><del>-    FixedArray&lt;int, numOpcodeIDs&gt; sortedIndices;
</del><ins>+    std::array&lt;int, numOpcodeIDs&gt; sortedIndices;
</ins><span class="cx">     for (int i = 0; i &lt; numOpcodeIDs; ++i)
</span><span class="cx">         sortedIndices[i] = i;
</span><span class="cx">     qsort(sortedIndices.data(), numOpcodeIDs, sizeof(int), compareOpcodeIndices);
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoredfgDFGCSEPhasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -32,6 +32,7 @@
</span><span class="cx"> #include &quot;DFGGraph.h&quot;
</span><span class="cx"> #include &quot;DFGPhase.h&quot;
</span><span class="cx"> #include &quot;JSCellInlines.h&quot;
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/FastBitVector.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace JSC { namespace DFG {
</span><span class="lines">@@ -1410,7 +1411,7 @@
</span><span class="cx">     BasicBlock* m_currentBlock;
</span><span class="cx">     Node* m_currentNode;
</span><span class="cx">     unsigned m_indexInBlock;
</span><del>-    FixedArray&lt;unsigned, LastNodeType&gt; m_lastSeen;
</del><ins>+    std::array&lt;unsigned, LastNodeType&gt; m_lastSeen;
</ins><span class="cx">     bool m_changed; // Only tracks changes that have a substantive effect on other optimizations.
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreftlFTLAbstractHeaph"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ftl/FTLAbstractHeap.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ftl/FTLAbstractHeap.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/ftl/FTLAbstractHeap.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -32,8 +32,8 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;FTLAbbreviations.h&quot;
</span><span class="cx"> #include &quot;JSCJSValue.h&quot;
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/FastMalloc.h&gt;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/Noncopyable.h&gt;
</span><span class="cx"> #include &lt;wtf/OwnPtr.h&gt;
</span><span class="lines">@@ -171,7 +171,7 @@
</span><span class="cx">     size_t m_elementSize;
</span><span class="cx">     LValue m_scaleTerm;
</span><span class="cx">     bool m_canShift;
</span><del>-    FixedArray&lt;AbstractField, 16&gt; m_smallIndices;
</del><ins>+    std::array&lt;AbstractField, 16&gt; m_smallIndices;
</ins><span class="cx">     
</span><span class="cx">     struct WithoutZeroOrOneHashTraits : WTF::GenericHashTraits&lt;ptrdiff_t&gt; {
</span><span class="cx">         static void constructDeletedValue(ptrdiff_t&amp; slot) { slot = 1; }
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreheapMarkedSpaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/heap/MarkedSpace.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/heap/MarkedSpace.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/heap/MarkedSpace.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -26,10 +26,10 @@
</span><span class="cx"> #include &quot;MarkedAllocator.h&quot;
</span><span class="cx"> #include &quot;MarkedBlock.h&quot;
</span><span class="cx"> #include &quot;MarkedBlockSet.h&quot;
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/PageAllocationAligned.h&gt;
</span><span class="cx"> #include &lt;wtf/Bitmap.h&gt;
</span><span class="cx"> #include &lt;wtf/DoublyLinkedList.h&gt;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><span class="cx"> #include &lt;wtf/Noncopyable.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="lines">@@ -137,8 +137,8 @@
</span><span class="cx">     static const size_t impreciseCount = impreciseCutoff / impreciseStep;
</span><span class="cx"> 
</span><span class="cx">     struct Subspace {
</span><del>-        FixedArray&lt;MarkedAllocator, preciseCount&gt; preciseAllocators;
-        FixedArray&lt;MarkedAllocator, impreciseCount&gt; impreciseAllocators;
</del><ins>+        std::array&lt;MarkedAllocator, preciseCount&gt; preciseAllocators;
+        std::array&lt;MarkedAllocator, impreciseCount&gt; impreciseAllocators;
</ins><span class="cx">         MarkedAllocator largeAllocator;
</span><span class="cx">     };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreparserParserArenah"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/parser/ParserArena.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/parser/ParserArena.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/parser/ParserArena.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> #define ParserArena_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Identifier.h&quot;
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/SegmentedVector.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace JSC {
</span><span class="lines">@@ -64,8 +65,8 @@
</span><span class="cx"> 
</span><span class="cx">     private:
</span><span class="cx">         IdentifierVector m_identifiers;
</span><del>-        FixedArray&lt;Identifier*, MaximumCachableCharacter&gt; m_shortIdentifiers;
-        FixedArray&lt;Identifier*, MaximumCachableCharacter&gt; m_recentIdentifiers;
</del><ins>+        std::array&lt;Identifier*, MaximumCachableCharacter&gt; m_shortIdentifiers;
+        std::array&lt;Identifier*, MaximumCachableCharacter&gt; m_recentIdentifiers;
</ins><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx">     template &lt;typename T&gt;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeCodeCacheh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/CodeCache.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/CodeCache.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/CodeCache.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #include &quot;Strong.h&quot;
</span><span class="cx"> #include &quot;WeakRandom.h&quot;
</span><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/PassOwnPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/RandomNumber.h&gt;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeDateInstanceCacheh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/DateInstanceCache.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/DateInstanceCache.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/DateInstanceCache.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;JSCJSValue.h&quot;
</span><span class="cx"> #include &quot;JSDateMath.h&quot;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/HashFunctions.h&gt;
</span><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx"> 
</span><span class="cx">         CacheEntry&amp; lookup(double d) { return m_cache[WTF::FloatHash&lt;double&gt;::hash(d) &amp; (cacheSize - 1)]; }
</span><span class="cx"> 
</span><del>-        FixedArray&lt;CacheEntry, cacheSize&gt; m_cache;
</del><ins>+        std::array&lt;CacheEntry, cacheSize&gt; m_cache;
</ins><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx"> } // namespace JSC
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSGlobalObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -428,7 +428,7 @@
</span><span class="cx">     putDirectWithoutTransition(vm, vm.propertyNames-&gt;JSON, JSONObject::create(vm, JSONObject::createStructure(vm, this, m_objectPrototype.get())), DontEnum);
</span><span class="cx">     putDirectWithoutTransition(vm, vm.propertyNames-&gt;Math, MathObject::create(vm, this, MathObject::createStructure(vm, this, m_objectPrototype.get())), DontEnum);
</span><span class="cx">     
</span><del>-    FixedArray&lt;InternalFunction*, NUMBER_OF_TYPED_ARRAY_TYPES&gt; typedArrayConstructors;
</del><ins>+    std::array&lt;InternalFunction*, NUMBER_OF_TYPED_ARRAY_TYPES&gt; typedArrayConstructors;
</ins><span class="cx">     typedArrayConstructors[toIndex(TypeInt8)] = JSInt8ArrayConstructor::create(vm, JSInt8ArrayConstructor::createStructure(vm, this, m_functionPrototype.get()), m_typedArrays[toIndex(TypeInt8)].prototype.get(), &quot;Int8Array&quot;);
</span><span class="cx">     typedArrayConstructors[toIndex(TypeInt16)] = JSInt16ArrayConstructor::create(vm, JSInt16ArrayConstructor::createStructure(vm, this, m_functionPrototype.get()), m_typedArrays[toIndex(TypeInt16)].prototype.get(), &quot;Int16Array&quot;);
</span><span class="cx">     typedArrayConstructors[toIndex(TypeInt32)] = JSInt32ArrayConstructor::create(vm, JSInt32ArrayConstructor::createStructure(vm, this, m_functionPrototype.get()), m_typedArrays[toIndex(TypeInt32)].prototype.get(), &quot;Int32Array&quot;);
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSGlobalObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> #include &quot;VM.h&quot;
</span><span class="cx"> #include &quot;Watchpoint.h&quot;
</span><span class="cx"> #include &lt;JavaScriptCore/JSBase.h&gt;
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><span class="cx"> #include &lt;wtf/OwnPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="lines">@@ -227,7 +228,7 @@
</span><span class="cx">         WriteBarrier&lt;Structure&gt; structure;
</span><span class="cx">     };
</span><span class="cx">     
</span><del>-    FixedArray&lt;TypedArrayData, NUMBER_OF_TYPED_ARRAY_TYPES&gt; m_typedArrays;
</del><ins>+    std::array&lt;TypedArrayData, NUMBER_OF_TYPED_ARRAY_TYPES&gt; m_typedArrays;
</ins><span class="cx">         
</span><span class="cx">     void* m_specialPointers[Special::TableSize]; // Special pointers used by the LLInt and JIT.
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSStringh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSString.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSString.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/JSString.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -22,12 +22,14 @@
</span><span class="cx"> 
</span><span class="cx"> #ifndef JSString_h
</span><span class="cx"> #define JSString_h
</span><ins>+
</ins><span class="cx"> #include &quot;CallFrame.h&quot;
</span><span class="cx"> #include &quot;CommonIdentifiers.h&quot;
</span><span class="cx"> #include &quot;Identifier.h&quot;
</span><span class="cx"> #include &quot;PropertyDescriptor.h&quot;
</span><span class="cx"> #include &quot;PropertySlot.h&quot;
</span><span class="cx"> #include &quot;Structure.h&quot;
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> 
</span><span class="cx"> namespace JSC {
</span><span class="cx"> 
</span><span class="lines">@@ -322,7 +324,7 @@
</span><span class="cx">             
</span><span class="cx">         JS_EXPORT_PRIVATE JSString* getIndexSlowCase(ExecState*, unsigned);
</span><span class="cx"> 
</span><del>-        mutable FixedArray&lt;WriteBarrier&lt;JSString&gt;, s_maxInternalRopeLength&gt; m_fibers;
</del><ins>+        mutable std::array&lt;WriteBarrier&lt;JSString&gt;, s_maxInternalRopeLength&gt; m_fibers;
</ins><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeLiteralParserh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/LiteralParser.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/LiteralParser.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/LiteralParser.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> #include &quot;Identifier.h&quot;
</span><span class="cx"> #include &quot;JSCJSValue.h&quot;
</span><span class="cx"> #include &quot;JSGlobalObjectFunctions.h&quot;
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace JSC {
</span><span class="lines">@@ -155,8 +156,8 @@
</span><span class="cx">     ParserMode m_mode;
</span><span class="cx">     String m_parseErrorMessage;
</span><span class="cx">     static unsigned const MaximumCachableCharacter = 128;
</span><del>-    FixedArray&lt;Identifier, MaximumCachableCharacter&gt; m_shortIdentifiers;
-    FixedArray&lt;Identifier, MaximumCachableCharacter&gt; m_recentIdentifiers;
</del><ins>+    std::array&lt;Identifier, MaximumCachableCharacter&gt; m_shortIdentifiers;
+    std::array&lt;Identifier, MaximumCachableCharacter&gt; m_recentIdentifiers;
</ins><span class="cx">     ALWAYS_INLINE const Identifier makeIdentifier(const LChar* characters, size_t length);
</span><span class="cx">     ALWAYS_INLINE const Identifier makeIdentifier(const UChar* characters, size_t length);
</span><span class="cx">     };
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeNumericStringsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/NumericStrings.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/NumericStrings.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/NumericStrings.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx"> #ifndef NumericStrings_h
</span><span class="cx"> #define NumericStrings_h
</span><span class="cx"> 
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/HashFunctions.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -87,10 +87,10 @@
</span><span class="cx">             return smallIntCache[i];
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        FixedArray&lt;CacheEntry&lt;double&gt;, cacheSize&gt; doubleCache;
-        FixedArray&lt;CacheEntry&lt;int&gt;, cacheSize&gt; intCache;
-        FixedArray&lt;CacheEntry&lt;unsigned&gt;, cacheSize&gt; unsignedCache;
-        FixedArray&lt;String, cacheSize&gt; smallIntCache;
</del><ins>+        std::array&lt;CacheEntry&lt;double&gt;, cacheSize&gt; doubleCache;
+        std::array&lt;CacheEntry&lt;int&gt;, cacheSize&gt; intCache;
+        std::array&lt;CacheEntry&lt;unsigned&gt;, cacheSize&gt; unsignedCache;
+        std::array&lt;String, cacheSize&gt; smallIntCache;
</ins><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx"> } // namespace JSC
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeRegExpCacheh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/RegExpCache.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/RegExpCache.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/RegExpCache.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> #include &quot;Strong.h&quot;
</span><span class="cx"> #include &quot;Weak.h&quot;
</span><span class="cx"> #include &quot;WeakInlines.h&quot;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #ifndef RegExpCache_h
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx">     void addToStrongCache(RegExp*);
</span><span class="cx">     RegExpCacheMap m_weakCache; // Holds all regular expressions currently live.
</span><span class="cx">     int m_nextEntryInStrongCache;
</span><del>-    WTF::FixedArray&lt;Strong&lt;RegExp&gt;, maxStrongCacheableEntries&gt; m_strongCache; // Holds a select few regular expressions that have compiled and executed
</del><ins>+    std::array&lt;Strong&lt;RegExp&gt;, maxStrongCacheableEntries&gt; m_strongCache; // Holds a select few regular expressions that have compiled and executed
</ins><span class="cx">     VM* m_vm;
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeSmallStringsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/SmallStrings.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/SmallStrings.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/JavaScriptCore/runtime/SmallStrings.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -27,8 +27,6 @@
</span><span class="cx"> #define SmallStrings_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;WriteBarrier.h&quot;
</span><del>-
-#include &lt;wtf/FixedArray.h&gt;
</del><span class="cx"> #include &lt;wtf/Noncopyable.h&gt;
</span><span class="cx"> #include &lt;wtf/OwnPtr.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WTF/ChangeLog        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2013-12-09  Sam Weinig  &lt;sam@webkit.org&gt;
+
+        Replace use of WTF::FixedArray with std::array
+        https://bugs.webkit.org/show_bug.cgi?id=125475
+
+        Reviewed by Anders Carlsson.
+
+        * wtf/AVLTree.h:
+        * wtf/Bitmap.h:
+        * wtf/SixCharacterHash.cpp:
+        (WTF::integerToSixCharacterHashString):
+        * wtf/SixCharacterHash.h:
+
</ins><span class="cx"> 2013-12-06  Roger Fong &lt;roger_fong@apple.com&gt; and Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Win] Support compiling with VS2013
</span></span></pre></div>
<a id="trunkSourceWTFwtfAVLTreeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/AVLTree.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/AVLTree.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WTF/wtf/AVLTree.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -32,8 +32,8 @@
</span><span class="cx"> #ifndef AVL_TREE_H_
</span><span class="cx"> #define AVL_TREE_H_
</span><span class="cx"> 
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/Assertions.h&gt;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><span class="cx"> 
</span><span class="cx"> namespace WTF {
</span><span class="cx"> 
</span><span class="lines">@@ -71,7 +71,7 @@
</span><span class="cx">     void reset() { for (unsigned i = 0; i &lt; maxDepth; ++i) m_data[i] = false; }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    FixedArray&lt;bool, maxDepth&gt; m_data;
</del><ins>+    std::array&lt;bool, maxDepth&gt; m_data;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // How to determine maxDepth:
</span></span></pre></div>
<a id="trunkSourceWTFwtfBitmaph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/Bitmap.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/Bitmap.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WTF/wtf/Bitmap.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -19,8 +19,8 @@
</span><span class="cx"> #ifndef Bitmap_h
</span><span class="cx"> #define Bitmap_h
</span><span class="cx"> 
</span><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/Atomics.h&gt;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span><span class="cx"> #include &lt;stdint.h&gt;
</span><span class="cx"> #include &lt;string.h&gt;
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx">     // a 64 bit unsigned int would give 0xffff8000
</span><span class="cx">     static const WordType one = 1;
</span><span class="cx"> 
</span><del>-    FixedArray&lt;WordType, words&gt; bits;
</del><ins>+    std::array&lt;WordType, words&gt; bits;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> template&lt;size_t size, BitmapAtomicMode atomicMode, typename WordType&gt;
</span></span></pre></div>
<a id="trunkSourceWTFwtfSixCharacterHashcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/SixCharacterHash.cpp (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/SixCharacterHash.cpp        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WTF/wtf/SixCharacterHash.cpp        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -58,11 +58,11 @@
</span><span class="cx">     return hash;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-FixedArray&lt;char, 7&gt; integerToSixCharacterHashString(unsigned hash)
</del><ins>+std::array&lt;char, 7&gt; integerToSixCharacterHashString(unsigned hash)
</ins><span class="cx"> {
</span><del>-    ASSERT(strlen(TABLE) == 62);
-    
-    FixedArray&lt;char, 7&gt; buffer;
</del><ins>+    static_assert(WTF_ARRAY_LENGTH(TABLE) - 1 == 62, &quot;Six character hash table is not 62 characters long.&quot;);
+
+    std::array&lt;char, 7&gt; buffer;
</ins><span class="cx">     unsigned accumulator = hash;
</span><span class="cx">     for (unsigned i = 6; i--;) {
</span><span class="cx">         buffer[i] = TABLE[accumulator % 62];
</span></span></pre></div>
<a id="trunkSourceWTFwtfSixCharacterHashh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/SixCharacterHash.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/SixCharacterHash.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WTF/wtf/SixCharacterHash.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx"> #ifndef SixCharacterHash_h
</span><span class="cx"> #define SixCharacterHash_h
</span><span class="cx"> 
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><ins>+#include &lt;array&gt;
</ins><span class="cx"> 
</span><span class="cx"> namespace WTF {
</span><span class="cx"> 
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> 
</span><span class="cx"> // Takes a 32-bit integer and constructs a six-character string that contains
</span><span class="cx"> // the character hash.
</span><del>-WTF_EXPORT_PRIVATE FixedArray&lt;char, 7&gt; integerToSixCharacterHashString(unsigned);
</del><ins>+WTF_EXPORT_PRIVATE std::array&lt;char, 7&gt; integerToSixCharacterHashString(unsigned);
</ins><span class="cx"> 
</span><span class="cx"> } // namespace WTF
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WebCore/ChangeLog        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2013-12-09  Sam Weinig  &lt;sam@webkit.org&gt;
+
+        Replace use of WTF::FixedArray with std::array
+        https://bugs.webkit.org/show_bug.cgi?id=125475
+
+        Reviewed by Anders Carlsson.
+
+        * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
+        * platform/graphics/GlyphMetricsMap.h:
+
</ins><span class="cx"> 2013-12-09  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Refactor the CFURLConnectionClient to be the synchronous implementation of an abstract network delegate
</span></span></pre></div>
<a id="trunkSourceWebCorecryptoparametersCryptoAlgorithmAesCbcParamsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/crypto/parameters/CryptoAlgorithmAesCbcParams.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/crypto/parameters/CryptoAlgorithmAesCbcParams.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WebCore/crypto/parameters/CryptoAlgorithmAesCbcParams.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx"> #define CryptoAlgorithmAesCbcParams_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CryptoAlgorithmParameters.h&quot;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><ins>+#include &lt;array&gt;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(SUBTLE_CRYPTO)
</span><span class="cx"> 
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> class CryptoAlgorithmAesCbcParams FINAL : public CryptoAlgorithmParameters {
</span><span class="cx"> public:
</span><span class="cx">     // The initialization vector. MUST be 16 bytes.
</span><del>-    FixedArray&lt;char, 16&gt; iv;
</del><ins>+    std::array&lt;char, 16&gt; iv;
</ins><span class="cx"> 
</span><span class="cx">     virtual Class parametersClass() const OVERRIDE { return Class::AesCbcParams; }
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsGlyphMetricsMaph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/GlyphMetricsMap.h (160343 => 160344)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/GlyphMetricsMap.h        2013-12-10 00:37:20 UTC (rev 160343)
+++ trunk/Source/WebCore/platform/graphics/GlyphMetricsMap.h        2013-12-10 01:28:05 UTC (rev 160344)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> #define GlyphMetricsMap_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Glyph.h&quot;
</span><del>-#include &lt;wtf/FixedArray.h&gt;
</del><ins>+#include &lt;array&gt;
</ins><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/OwnPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/PassOwnPtr.h&gt;
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx"> private:
</span><span class="cx">     struct GlyphMetricsPage {
</span><span class="cx">         static const size_t size = 256; // Usually covers Latin-1 in a single page.
</span><del>-        FixedArray&lt;T, size&gt; m_metrics;
</del><ins>+        std::array&lt;T, size&gt; m_metrics;
</ins><span class="cx"> 
</span><span class="cx">         T metricsForGlyph(Glyph glyph) const { return m_metrics[glyph % size]; }
</span><span class="cx">         void setMetricsForGlyph(Glyph glyph, const T&amp; metrics)
</span></span></pre>
</div>
</div>

</body>
</html>