<!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>[183065] 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/183065">183065</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-04-21 09:18:22 -0700 (Tue, 21 Apr 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;) constructor explicit
https://bugs.webkit.org/show_bug.cgi?id=143970

Reviewed by Darin Adler.

Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;)
constructor explicit as it copies the vector and it is easy to call it
by mistake.

Source/JavaScriptCore:

* bytecode/UnlinkedInstructionStream.cpp:
(JSC::UnlinkedInstructionStream::UnlinkedInstructionStream):
* bytecode/UnlinkedInstructionStream.h:
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::lower):

Source/WebCore:

* Modules/indexeddb/IDBDatabaseBackend.cpp:
(WebCore::IDBDatabaseBackend::setIndexKeys):
(WebCore::IDBDatabaseBackend::setIndexesReady):
* Modules/indexeddb/IDBDatabaseBackend.h:
* Modules/indexeddb/IDBServerConnection.h:
* cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::minimumRegisterRequirements):
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementHasClasses):
* cssjit/StackAllocator.h:
(WebCore::StackAllocator::push):
(WebCore::StackAllocator::pop):
* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::GridIterator::nextGridItem):
(WebCore::RenderGrid::GridIterator::isEmptyAreaEnough):
* rendering/style/SVGRenderStyle.cpp:
(WebCore::SVGRenderStyle::paintTypesForPaintOrder):
* rendering/style/SVGRenderStyle.h:
* rendering/svg/RenderSVGShape.cpp:
(WebCore::RenderSVGShape::fillStrokeMarkers):
* rendering/svg/SVGInlineTextBox.cpp:
(WebCore::SVGInlineTextBox::paint):
* svg/SVGToOTFFontConversion.cpp:
(WebCore::SVGToOTFFontConverter::appendLigatureGlyphs):
(WebCore::SVGToOTFFontConverter::SVGToOTFFontConverter):

Source/WebKit2:

* WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
(WebKit::WebIDBServerConnection::setIndexKeys):
* WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:

Source/WTF:

* wtf/RefCountedArray.h:
(WTF::RefCountedArray::RefCountedArray):
* wtf/Vector.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeUnlinkedInstructionStreamcpp">trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCorebytecodeUnlinkedInstructionStreamh">trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreftlFTLLowerDFGToLLVMcpp">trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfRefCountedArrayh">trunk/Source/WTF/wtf/RefCountedArray.h</a></li>
<li><a href="#trunkSourceWTFwtfVectorh">trunk/Source/WTF/wtf/Vector.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendcpp">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBServerConnectionh">trunk/Source/WebCore/Modules/indexeddb/IDBServerConnection.h</a></li>
<li><a href="#trunkSourceWebCorecssjitSelectorCompilercpp">trunk/Source/WebCore/cssjit/SelectorCompiler.cpp</a></li>
<li><a href="#trunkSourceWebCorecssjitStackAllocatorh">trunk/Source/WebCore/cssjit/StackAllocator.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderGridcpp">trunk/Source/WebCore/rendering/RenderGrid.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStylecpp">trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStyleh">trunk/Source/WebCore/rendering/style/SVGRenderStyle.h</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGShapecpp">trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGInlineTextBoxcpp">trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGToOTFFontConversioncpp">trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPIgtkWebKitNotificationProvidercpp">trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectioncpp">trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectionh">trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2015-04-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;) constructor explicit
+        https://bugs.webkit.org/show_bug.cgi?id=143970
+
+        Reviewed by Darin Adler.
+
+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;)
+        constructor explicit as it copies the vector and it is easy to call it
+        by mistake.
+
+        * bytecode/UnlinkedInstructionStream.cpp:
+        (JSC::UnlinkedInstructionStream::UnlinkedInstructionStream):
+        * bytecode/UnlinkedInstructionStream.h:
+        * ftl/FTLLowerDFGToLLVM.cpp:
+        (JSC::FTL::LowerDFGToLLVM::lower):
+
</ins><span class="cx"> 2015-04-20  Basile Clement  &lt;basile_clement@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         PhantomNewObject should be marked NodeMustGenerate
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeUnlinkedInstructionStreamcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">     *(ptr++) = (value &gt;&gt; 24) &amp; 0xff;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-UnlinkedInstructionStream::UnlinkedInstructionStream(const Vector&lt;UnlinkedInstruction&gt;&amp; instructions)
</del><ins>+UnlinkedInstructionStream::UnlinkedInstructionStream(const Vector&lt;UnlinkedInstruction, 0, UnsafeVectorOverflow&gt;&amp; instructions)
</ins><span class="cx">     : m_instructionCount(instructions.size())
</span><span class="cx"> {
</span><span class="cx">     Vector&lt;unsigned char&gt; buffer;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorebytecodeUnlinkedInstructionStreamh"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/JavaScriptCore/bytecode/UnlinkedInstructionStream.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> class UnlinkedInstructionStream {
</span><span class="cx">     WTF_MAKE_FAST_ALLOCATED;
</span><span class="cx"> public:
</span><del>-    explicit UnlinkedInstructionStream(const Vector&lt;UnlinkedInstruction&gt;&amp;);
</del><ins>+    explicit UnlinkedInstructionStream(const Vector&lt;UnlinkedInstruction, 0, UnsafeVectorOverflow&gt;&amp;);
</ins><span class="cx"> 
</span><span class="cx">     unsigned count() const { return m_instructionCount; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreftlFTLLowerDFGToLLVMcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -152,7 +152,7 @@
</span><span class="cx">         m_out.appendTo(m_prologue, stackOverflow);
</span><span class="cx">         createPhiVariables();
</span><span class="cx"> 
</span><del>-        Vector&lt;BasicBlock*&gt; preOrder = m_graph.blocksInPreOrder();
</del><ins>+        auto preOrder = m_graph.blocksInPreOrder();
</ins><span class="cx"> 
</span><span class="cx">         int maxNumberOfArguments = -1;
</span><span class="cx">         for (BasicBlock* block : preOrder) {
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WTF/ChangeLog        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2015-04-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;) constructor explicit
+        https://bugs.webkit.org/show_bug.cgi?id=143970
+
+        Reviewed by Darin Adler.
+
+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;)
+        constructor explicit as it copies the vector and it is easy to call it
+        by mistake.
+
+        * wtf/RefCountedArray.h:
+        (WTF::RefCountedArray::RefCountedArray):
+        * wtf/Vector.h:
+
</ins><span class="cx"> 2015-04-21  Darin Adler  &lt;darin@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove some stray uses of OwnPtr and PassOwnPtr in WTF (outside of the template definitions and traits)
</span></span></pre></div>
<a id="trunkSourceWTFwtfRefCountedArrayh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/RefCountedArray.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/RefCountedArray.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WTF/wtf/RefCountedArray.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -72,7 +72,8 @@
</span><span class="cx">         VectorTypeOperations&lt;T&gt;::initialize(begin(), end());
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    explicit RefCountedArray(const Vector&lt;T&gt;&amp; other)
</del><ins>+    template&lt;size_t inlineCapacity, typename OverflowHandler&gt;
+    explicit RefCountedArray(const Vector&lt;T, inlineCapacity, OverflowHandler&gt;&amp; other)
</ins><span class="cx">     {
</span><span class="cx">         if (other.isEmpty()) {
</span><span class="cx">             m_data = 0;
</span></span></pre></div>
<a id="trunkSourceWTFwtfVectorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/Vector.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/Vector.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WTF/wtf/Vector.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -639,7 +639,7 @@
</span><span class="cx"> 
</span><span class="cx">     Vector(const Vector&amp;);
</span><span class="cx">     template&lt;size_t otherCapacity, typename otherOverflowBehaviour&gt;
</span><del>-    Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;);
</del><ins>+    explicit Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;);
</ins><span class="cx"> 
</span><span class="cx">     Vector&amp; operator=(const Vector&amp;);
</span><span class="cx">     template&lt;size_t otherCapacity, typename otherOverflowBehaviour&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/ChangeLog        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -1,5 +1,41 @@
</span><span class="cx"> 2015-04-21  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;) constructor explicit
+        https://bugs.webkit.org/show_bug.cgi?id=143970
+
+        Reviewed by Darin Adler.
+
+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;)
+        constructor explicit as it copies the vector and it is easy to call it
+        by mistake.
+
+        * Modules/indexeddb/IDBDatabaseBackend.cpp:
+        (WebCore::IDBDatabaseBackend::setIndexKeys):
+        (WebCore::IDBDatabaseBackend::setIndexesReady):
+        * Modules/indexeddb/IDBDatabaseBackend.h:
+        * Modules/indexeddb/IDBServerConnection.h:
+        * cssjit/SelectorCompiler.cpp:
+        (WebCore::SelectorCompiler::minimumRegisterRequirements):
+        (WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementHasClasses):
+        * cssjit/StackAllocator.h:
+        (WebCore::StackAllocator::push):
+        (WebCore::StackAllocator::pop):
+        * rendering/RenderGrid.cpp:
+        (WebCore::RenderGrid::GridIterator::nextGridItem):
+        (WebCore::RenderGrid::GridIterator::isEmptyAreaEnough):
+        * rendering/style/SVGRenderStyle.cpp:
+        (WebCore::SVGRenderStyle::paintTypesForPaintOrder):
+        * rendering/style/SVGRenderStyle.h:
+        * rendering/svg/RenderSVGShape.cpp:
+        (WebCore::RenderSVGShape::fillStrokeMarkers):
+        * rendering/svg/SVGInlineTextBox.cpp:
+        (WebCore::SVGInlineTextBox::paint):
+        * svg/SVGToOTFFontConversion.cpp:
+        (WebCore::SVGToOTFFontConverter::appendLigatureGlyphs):
+        (WebCore::SVGToOTFFontConverter::SVGToOTFFontConverter):
+
+2015-04-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         Use ASSERT_WITH_SECURITY_IMPLICATION() for NoEventDispatchAssertion
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=143971
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -244,7 +244,7 @@
</span><span class="cx">     transaction-&gt;schedulePutOperation(objectStoreMetadata, value, key, putMode, callbacks, indexIds, indexKeys);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void IDBDatabaseBackend::setIndexKeys(int64_t transactionID, int64_t objectStoreID, PassRefPtr&lt;IDBKey&gt; prpPrimaryKey, const Vector&lt;int64_t&gt;&amp; indexIDs, const Vector&lt;IndexKeys&gt;&amp; indexKeys)
</del><ins>+void IDBDatabaseBackend::setIndexKeys(int64_t transactionID, int64_t objectStoreID, PassRefPtr&lt;IDBKey&gt; prpPrimaryKey, const Vector&lt;int64_t, 1&gt;&amp; indexIDs, const Vector&lt;IndexKeys, 1&gt;&amp; indexKeys)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;IDBDatabaseBackend::setIndexKeys&quot;);
</span><span class="cx">     ASSERT(prpPrimaryKey);
</span><span class="lines">@@ -262,7 +262,7 @@
</span><span class="cx">     });
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void IDBDatabaseBackend::setIndexesReady(int64_t transactionId, int64_t, const Vector&lt;int64_t&gt;&amp; indexIds)
</del><ins>+void IDBDatabaseBackend::setIndexesReady(int64_t transactionId, int64_t, const Vector&lt;int64_t, 1&gt;&amp; indexIds)
</ins><span class="cx"> {
</span><span class="cx">     LOG(StorageAPI, &quot;IDBDatabaseBackend::setIndexesReady&quot;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseBackendh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -108,8 +108,8 @@
</span><span class="cx"> 
</span><span class="cx">     void get(int64_t transactionId, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt;, bool keyOnly, PassRefPtr&lt;IDBCallbacks&gt;);
</span><span class="cx">     void put(int64_t transactionId, int64_t objectStoreId, PassRefPtr&lt;SharedBuffer&gt; value, PassRefPtr&lt;IDBKey&gt;, PutMode, PassRefPtr&lt;IDBCallbacks&gt;, const Vector&lt;int64_t&gt;&amp; indexIds, const Vector&lt;IndexKeys&gt;&amp;);
</span><del>-    void setIndexKeys(int64_t transactionId, int64_t objectStoreId, PassRefPtr&lt;IDBKey&gt; prpPrimaryKey, const Vector&lt;int64_t&gt;&amp; indexIds, const Vector&lt;IndexKeys&gt;&amp;);
-    void setIndexesReady(int64_t transactionId, int64_t objectStoreId, const Vector&lt;int64_t&gt;&amp; indexIds);
</del><ins>+    void setIndexKeys(int64_t transactionId, int64_t objectStoreId, PassRefPtr&lt;IDBKey&gt; prpPrimaryKey, const Vector&lt;int64_t, 1&gt;&amp; indexIds, const Vector&lt;IndexKeys, 1&gt;&amp;);
+    void setIndexesReady(int64_t transactionId, int64_t objectStoreId, const Vector&lt;int64_t, 1&gt;&amp; indexIds);
</ins><span class="cx">     void openCursor(int64_t transactionId, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt;, IndexedDB::CursorDirection, bool keyOnly, TaskType, PassRefPtr&lt;IDBCallbacks&gt;);
</span><span class="cx">     void count(int64_t transactionId, int64_t objectStoreId, int64_t indexId, PassRefPtr&lt;IDBKeyRange&gt;, PassRefPtr&lt;IDBCallbacks&gt;);
</span><span class="cx">     void deleteRange(int64_t transactionId, int64_t objectStoreId, PassRefPtr&lt;IDBKeyRange&gt;, PassRefPtr&lt;IDBCallbacks&gt;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBServerConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBServerConnection.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBServerConnection.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBServerConnection.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx">     virtual void rollbackTransaction(int64_t transactionID, std::function&lt;void()&gt; completionCallback) = 0;
</span><span class="cx">     virtual bool rollbackTransactionSync(int64_t transactionID) = 0;
</span><span class="cx"> 
</span><del>-    virtual void setIndexKeys(int64_t transactionID, int64_t databaseID, int64_t objectStoreID, const IDBObjectStoreMetadata&amp;, IDBKey&amp; primaryKey, const Vector&lt;int64_t&gt;&amp; indexIDs, const Vector&lt;Vector&lt;RefPtr&lt;IDBKey&gt;&gt;&gt;&amp; indexKeys, std::function&lt;void(PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback) = 0;
</del><ins>+    virtual void setIndexKeys(int64_t transactionID, int64_t databaseID, int64_t objectStoreID, const IDBObjectStoreMetadata&amp;, IDBKey&amp; primaryKey, const Vector&lt;int64_t, 1&gt;&amp; indexIDs, const Vector&lt;Vector&lt;RefPtr&lt;IDBKey&gt;&gt;, 1&gt;&amp; indexKeys, std::function&lt;void(PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback) = 0;
</ins><span class="cx"> 
</span><span class="cx">     virtual void createObjectStore(IDBTransactionBackend&amp;, const CreateObjectStoreOperation&amp;, std::function&lt;void(PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback) = 0;
</span><span class="cx">     virtual void createIndex(IDBTransactionBackend&amp;, const CreateIndexOperation&amp;, std::function&lt;void(PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback) = 0;
</span></span></pre></div>
<a id="trunkSourceWebCorecssjitSelectorCompilercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/cssjit/SelectorCompiler.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/cssjit/SelectorCompiler.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/cssjit/SelectorCompiler.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -308,7 +308,7 @@
</span><span class="cx">     void generateElementAttributeFunctionCallValueMatching(Assembler::JumpList&amp; failureCases, Assembler::RegisterID currentAttributeAddress, const AtomicString&amp; expectedValue, AttributeCaseSensitivity valueCaseSensitivity, JSC::FunctionPtr caseSensitiveTest, JSC::FunctionPtr caseInsensitiveTest);
</span><span class="cx">     void generateElementHasTagName(Assembler::JumpList&amp; failureCases, const CSSSelector&amp; tagMatchingSelector);
</span><span class="cx">     void generateElementHasId(Assembler::JumpList&amp; failureCases, const LocalRegister&amp; elementDataAddress, const AtomicString&amp; idToMatch);
</span><del>-    void generateElementHasClasses(Assembler::JumpList&amp; failureCases, const LocalRegister&amp; elementDataAddress, const Vector&lt;const AtomicStringImpl*&gt;&amp; classNames);
</del><ins>+    void generateElementHasClasses(Assembler::JumpList&amp; failureCases, const LocalRegister&amp; elementDataAddress, const Vector&lt;const AtomicStringImpl*, 8&gt;&amp; classNames);
</ins><span class="cx">     void generateElementIsLink(Assembler::JumpList&amp; failureCases);
</span><span class="cx">     void generateElementIsNthChild(Assembler::JumpList&amp; failureCases, const SelectorFragment&amp;);
</span><span class="cx">     void generateElementIsNthChildOf(Assembler::JumpList&amp; failureCases, const SelectorFragment&amp;);
</span><span class="lines">@@ -1092,7 +1092,7 @@
</span><span class="cx"> static unsigned minimumRegisterRequirements(const SelectorFragment&amp; selectorFragment)
</span><span class="cx"> {
</span><span class="cx">     unsigned minimum = minimumRequiredRegisterCount;
</span><del>-    const Vector&lt;AttributeMatchingInfo&gt;&amp; attributes = selectorFragment.attributes;
</del><ins>+    const auto&amp; attributes = selectorFragment.attributes;
</ins><span class="cx"> 
</span><span class="cx">     // Attributes cause some register pressure.
</span><span class="cx">     unsigned attributeCount = attributes.size();
</span><span class="lines">@@ -3530,7 +3530,7 @@
</span><span class="cx">     failureCases.append(m_assembler.branchPtr(Assembler::NotEqual, Assembler::Address(elementDataAddress, ElementData::idForStyleResolutionMemoryOffset()), idToMatchRegister));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void SelectorCodeGenerator::generateElementHasClasses(Assembler::JumpList&amp; failureCases, const LocalRegister&amp; elementDataAddress, const Vector&lt;const AtomicStringImpl*&gt;&amp; classNames)
</del><ins>+void SelectorCodeGenerator::generateElementHasClasses(Assembler::JumpList&amp; failureCases, const LocalRegister&amp; elementDataAddress, const Vector&lt;const AtomicStringImpl*, 8&gt;&amp; classNames)
</ins><span class="cx"> {
</span><span class="cx">     // Load m_classNames.
</span><span class="cx">     LocalRegister spaceSplitStringData(m_registerAllocator);
</span></span></pre></div>
<a id="trunkSourceWebCorecssjitStackAllocatorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/cssjit/StackAllocator.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/cssjit/StackAllocator.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/cssjit/StackAllocator.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -100,7 +100,8 @@
</span><span class="cx">         return stackReferences;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    StackReferenceVector push(const Vector&lt;JSC::MacroAssembler::RegisterID&gt;&amp; registerIDs)
</del><ins>+    template&lt;size_t inlineCapacity, typename OverflowHandler&gt;
+    StackReferenceVector push(const Vector&lt;JSC::MacroAssembler::RegisterID, inlineCapacity, OverflowHandler&gt;&amp; registerIDs)
</ins><span class="cx">     {
</span><span class="cx">         RELEASE_ASSERT(!m_hasFunctionCallPadding);
</span><span class="cx"> 
</span><span class="lines">@@ -134,7 +135,8 @@
</span><span class="cx">         return StackReference(m_offsetFromTop);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    void pop(const StackReferenceVector&amp; stackReferences, const Vector&lt;JSC::MacroAssembler::RegisterID&gt;&amp; registerIDs)
</del><ins>+    template&lt;size_t inlineCapacity, typename OverflowHandler&gt;
+    void pop(const StackReferenceVector&amp; stackReferences, const Vector&lt;JSC::MacroAssembler::RegisterID, inlineCapacity, OverflowHandler&gt;&amp; registerIDs)
</ins><span class="cx">     {
</span><span class="cx">         RELEASE_ASSERT(!m_hasFunctionCallPadding);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderGridcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderGrid.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderGrid.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/rendering/RenderGrid.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx">         unsigned&amp; varyingTrackIndex = (m_direction == ForColumns) ? m_rowIndex : m_columnIndex;
</span><span class="cx">         const unsigned endOfVaryingTrackIndex = (m_direction == ForColumns) ? m_grid.size() : m_grid[0].size();
</span><span class="cx">         for (; varyingTrackIndex &lt; endOfVaryingTrackIndex; ++varyingTrackIndex) {
</span><del>-            const Vector&lt;RenderBox*&gt;&amp; children = m_grid[m_rowIndex][m_columnIndex];
</del><ins>+            const auto&amp; children = m_grid[m_rowIndex][m_columnIndex];
</ins><span class="cx">             if (m_childIndex &lt; children.size())
</span><span class="cx">                 return children[m_childIndex++];
</span><span class="cx"> 
</span><span class="lines">@@ -171,7 +171,7 @@
</span><span class="cx">         // This adds a O(N^2) behavior that shouldn't be a big deal as we expect spanning areas to be small.
</span><span class="cx">         for (unsigned row = m_rowIndex; row &lt; maxRows; ++row) {
</span><span class="cx">             for (unsigned column = m_columnIndex; column &lt; maxColumns; ++column) {
</span><del>-                const Vector&lt;RenderBox*&gt;&amp; children = m_grid[row][column];
</del><ins>+                auto&amp; children = m_grid[row][column];
</ins><span class="cx">                 if (!children.isEmpty())
</span><span class="cx">                     return false;
</span><span class="cx">             }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -148,7 +148,7 @@
</span><span class="cx">     resources = other-&gt;resources;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Vector&lt;PaintType&gt; SVGRenderStyle::paintTypesForPaintOrder() const
</del><ins>+Vector&lt;PaintType, 3&gt; SVGRenderStyle::paintTypesForPaintOrder() const
</ins><span class="cx"> {
</span><span class="cx">     Vector&lt;PaintType, 3&gt; paintOrder;
</span><span class="cx">     switch (this-&gt;paintOrder()) {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStyleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyle.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyle.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyle.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -379,7 +379,7 @@
</span><span class="cx">     String markerEndResource() const { return inheritedResources-&gt;markerEnd; }
</span><span class="cx">     EMaskType maskType() const { return (EMaskType) svg_noninherited_flags.f.maskType; }
</span><span class="cx">     PaintOrder paintOrder() const { return (PaintOrder) svg_inherited_flags.paintOrder; }
</span><del>-    Vector&lt;PaintType&gt; paintTypesForPaintOrder() const;
</del><ins>+    Vector&lt;PaintType, 3&gt; paintTypesForPaintOrder() const;
</ins><span class="cx"> 
</span><span class="cx">     const SVGPaint::SVGPaintType&amp; visitedLinkFillPaintType() const { return fill-&gt;visitedLinkPaintType; }
</span><span class="cx">     const Color&amp; visitedLinkFillPaintColor() const { return fill-&gt;visitedLinkPaintColor; }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGShapecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -271,7 +271,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RenderSVGShape::fillStrokeMarkers(PaintInfo&amp; childPaintInfo)
</span><span class="cx"> {
</span><del>-    Vector&lt;PaintType&gt; paintOrder = style().svgStyle().paintTypesForPaintOrder();
</del><ins>+    auto paintOrder = style().svgStyle().paintTypesForPaintOrder();
</ins><span class="cx">     for (unsigned i = 0; i &lt; paintOrder.size(); ++i) {
</span><span class="cx">         switch (paintOrder.at(i)) {
</span><span class="cx">         case PaintTypeFill:
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGInlineTextBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -300,7 +300,7 @@
</span><span class="cx">         if (decorations &amp; TextDecorationOverline)
</span><span class="cx">             paintDecoration(paintInfo.context, TextDecorationOverline, fragment);
</span><span class="cx"> 
</span><del>-        Vector&lt;PaintType&gt; paintOrder = style.svgStyle().paintTypesForPaintOrder();
</del><ins>+        auto paintOrder = style.svgStyle().paintTypesForPaintOrder();
</ins><span class="cx">         for (unsigned i = 0; i &lt; paintOrder.size(); ++i) {
</span><span class="cx">             switch (paintOrder.at(i)) {
</span><span class="cx">             case PaintTypeFill:
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGToOTFFontConversioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebCore/svg/SVGToOTFFontConversion.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -1300,7 +1300,7 @@
</span><span class="cx">     for (auto codepoint : ligatureCodepoints) {
</span><span class="cx">         auto codepoints = codepointToString(codepoint);
</span><span class="cx">         if (!codepoints.isNull())
</span><del>-            m_glyphs.append(GlyphData(Vector&lt;char, 17&gt;(m_emptyGlyphCharString), nullptr, m_unitsPerEm, m_unitsPerEm, FloatRect(), codepoints));
</del><ins>+            m_glyphs.append(GlyphData(Vector&lt;char&gt;(m_emptyGlyphCharString), nullptr, m_unitsPerEm, m_unitsPerEm, FloatRect(), codepoints));
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -1390,7 +1390,7 @@
</span><span class="cx">     if (m_missingGlyphElement)
</span><span class="cx">         processGlyphElement(*m_missingGlyphElement, nullptr, defaultHorizontalAdvance, defaultVerticalAdvance, String(), initialGlyph);
</span><span class="cx">     else
</span><del>-        m_glyphs.append(GlyphData(Vector&lt;char, 17&gt;(m_emptyGlyphCharString), nullptr, m_unitsPerEm, m_unitsPerEm, FloatRect(), String()));
</del><ins>+        m_glyphs.append(GlyphData(Vector&lt;char&gt;(m_emptyGlyphCharString), nullptr, m_unitsPerEm, m_unitsPerEm, FloatRect(), String()));
</ins><span class="cx"> 
</span><span class="cx">     for (auto&amp; glyphElement : childrenOfType&lt;SVGGlyphElement&gt;(m_fontElement)) {
</span><span class="cx">         auto&amp; unicodeAttribute = glyphElement.fastGetAttribute(SVGNames::unicodeAttr);
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebKit2/ChangeLog        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2015-04-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;) constructor explicit
+        https://bugs.webkit.org/show_bug.cgi?id=143970
+
+        Reviewed by Darin Adler.
+
+        Make Vector(const Vector&lt;T, otherCapacity, otherOverflowBehaviour&gt;&amp;)
+        constructor explicit as it copies the vector and it is easy to call it
+        by mistake.
+
+        * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
+        (WebKit::WebIDBServerConnection::setIndexKeys):
+        * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
+
</ins><span class="cx"> 2015-04-20  Dan Bernstein  &lt;mitz@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Expose more bundle form client functions as WKWebProcessPlugInFormDelegatePrivate methods
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPIgtkWebKitNotificationProvidercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitNotificationProvider.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -89,8 +89,8 @@
</span><span class="cx"> void WebKitNotificationProvider::notificationCloseCallback(WebKitNotification* notification, WebKitNotificationProvider* provider)
</span><span class="cx"> {
</span><span class="cx">     uint64_t notificationID = webkit_notification_get_id(notification);
</span><del>-    Vector&lt;RefPtr&lt;API::Object&gt;, 1&gt; arrayIDs;
-    arrayIDs.uncheckedAppend(API::UInt64::create(notificationID));
</del><ins>+    Vector&lt;RefPtr&lt;API::Object&gt;&gt; arrayIDs;
+    arrayIDs.append(API::UInt64::create(notificationID));
</ins><span class="cx">     provider-&gt;m_notificationManager-&gt;providerDidCloseNotifications(API::Array::create(WTF::move(arrayIDs)).get());
</span><span class="cx">     provider-&gt;m_notifications.remove(notificationID);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -305,7 +305,7 @@
</span><span class="cx">     return success;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebIDBServerConnection::setIndexKeys(int64_t transactionID, int64_t databaseID, int64_t objectStoreID, const IDBObjectStoreMetadata&amp;, IDBKey&amp; primaryKey, const Vector&lt;int64_t&gt;&amp; indexIDs, const Vector&lt;Vector&lt;RefPtr&lt;IDBKey&gt;&gt;&gt;&amp; indexKeys, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</del><ins>+void WebIDBServerConnection::setIndexKeys(int64_t transactionID, int64_t databaseID, int64_t objectStoreID, const IDBObjectStoreMetadata&amp;, IDBKey&amp; primaryKey, const Vector&lt;int64_t, 1&gt;&amp; indexIDs, const Vector&lt;Vector&lt;RefPtr&lt;WebCore::IDBKey&gt;&gt;, 1&gt;&amp; indexKeys, std::function&lt;void (PassRefPtr&lt;IDBDatabaseError&gt;)&gt; completionCallback)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessDatabasesIndexedDBWebIDBServerConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.h (183064 => 183065)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.h        2015-04-21 16:16:21 UTC (rev 183064)
+++ trunk/Source/WebKit2/WebProcess/Databases/IndexedDB/WebIDBServerConnection.h        2015-04-21 16:18:22 UTC (rev 183065)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx">     virtual void rollbackTransaction(int64_t transactionID, std::function&lt;void ()&gt; completionCallback) override;
</span><span class="cx">     virtual bool rollbackTransactionSync(int64_t transactionID) override;
</span><span class="cx"> 
</span><del>-    virtual void setIndexKeys(int64_t transactionID, int64_t databaseID, int64_t objectStoreID, const WebCore::IDBObjectStoreMetadata&amp;, WebCore::IDBKey&amp; primaryKey, const Vector&lt;int64_t&gt;&amp; indexIDs, const Vector&lt;Vector&lt;RefPtr&lt;WebCore::IDBKey&gt;&gt;&gt;&amp; indexKeys, std::function&lt;void (PassRefPtr&lt;WebCore::IDBDatabaseError&gt;)&gt; completionCallback) override;
</del><ins>+    virtual void setIndexKeys(int64_t transactionID, int64_t databaseID, int64_t objectStoreID, const WebCore::IDBObjectStoreMetadata&amp;, WebCore::IDBKey&amp; primaryKey, const Vector&lt;int64_t, 1&gt;&amp; indexIDs, const Vector&lt;Vector&lt;RefPtr&lt;WebCore::IDBKey&gt;&gt;, 1&gt;&amp; indexKeys, std::function&lt;void (PassRefPtr&lt;WebCore::IDBDatabaseError&gt;)&gt; completionCallback) override;
</ins><span class="cx"> 
</span><span class="cx">     virtual void createObjectStore(WebCore::IDBTransactionBackend&amp;, const WebCore::CreateObjectStoreOperation&amp;, std::function&lt;void (PassRefPtr&lt;WebCore::IDBDatabaseError&gt;)&gt; completionCallback) override;
</span><span class="cx">     virtual void createIndex(WebCore::IDBTransactionBackend&amp;, const WebCore::CreateIndexOperation&amp;, std::function&lt;void (PassRefPtr&lt;WebCore::IDBDatabaseError&gt;)&gt; completionCallback) override;
</span></span></pre>
</div>
</div>

</body>
</html>