<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Win][IndexedDB] Fix build errors."
   href="https://bugs.webkit.org/show_bug.cgi?id=156713#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Win][IndexedDB] Fix build errors."
   href="https://bugs.webkit.org/show_bug.cgi?id=156713">bug 156713</a>
              from <span class="vcard"><a class="email" href="mailto:peavo&#64;outlook.com" title="peavo&#64;outlook.com">peavo&#64;outlook.com</a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156713#c4">comment #4</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=276667&amp;action=diff" name="attach_276667" title="Patch">attachment 276667</a> <a href="attachment.cgi?id=276667&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=276667&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=276667&amp;action=review</a>
&gt; 
&gt; cool!
&gt; </span >

Thanks for reviewing :)

<span class="quote">&gt; &gt; Source/WebCore/Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp:44
&gt; &gt; -    return std::make_unique&lt;MemoryBackingStoreTransaction&gt;(backingStore, info);
&gt; &gt; +    return std::unique_ptr&lt;MemoryBackingStoreTransaction&gt;(new MemoryBackingStoreTransaction(backingStore, info));
&gt; 
&gt; This shouldn't be needed.
&gt; </span >

I get a compile error without this:

error C2248: 'WebCore::IDBServer::MemoryBackingStoreTransaction::MemoryBackingStoreTransaction': cannot access private member declared in class 'WebCore::IDBServer::MemoryBackingStoreTransaction

Maybe we should fix this in another way?

<span class="quote">&gt; 
&gt; &gt; Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp:1188
&gt; &gt; -    auto callback = [this, self, refTransaction](const IDBError&amp; error) {
&gt; &gt; +    ErrorCallback callback = [this, self, refTransaction](const IDBError&amp; error) {
&gt; 
&gt; This shouldn't be needed.
&gt; </span >

I get an error without this:

error C2668: 'WebCore::IDBServer::UniqueIDBDatabase::storeCallback': ambiguous call to overloaded function

<span class="quote">&gt; &gt; Source/WebKit/win/storage/WebDatabaseProvider.cpp:45
&gt; &gt; +    sprintf_s(databaseDirectory, MAX_PATH, &quot;%s\\%s&quot;, appDataDirectory, executableName);
&gt; 
&gt; On Mac we use .../WebKit/Databases/___IndexedDB.  We should probably do
&gt; something similar here.</span >

I will update the path :)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>