⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 199059 in webkit


Ignore:
Timestamp:
Apr 5, 2016, 9:22:39 AM (11 years ago)
Author:
achristensen@apple.com
Message:

Speculative build fix after r199043

  • bindings/js/SerializedScriptValue.cpp:

(WebCore::SerializedScriptValue::wireFormatVersion):
(WebCore::SerializedScriptValue::writeBlobsToDiskForIndexedDB):

  • bindings/js/SerializedScriptValue.h:

(WebCore::SerializedScriptValue::data):
(WebCore::SerializedScriptValue::hasBlobURLs):
(WebCore::SerializedScriptValue::createFromWireBytes):
Initializer lists weren't the problem. Missing precompiler macros was.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r199058 r199059  
     12016-04-05  Alex Christensen  <achristensen@webkit.org>
     2
     3        Speculative build fix after r199043
     4
     5        * bindings/js/SerializedScriptValue.cpp:
     6        (WebCore::SerializedScriptValue::wireFormatVersion):
     7        (WebCore::SerializedScriptValue::writeBlobsToDiskForIndexedDB):
     8        * bindings/js/SerializedScriptValue.h:
     9        (WebCore::SerializedScriptValue::data):
     10        (WebCore::SerializedScriptValue::hasBlobURLs):
     11        (WebCore::SerializedScriptValue::createFromWireBytes):
     12        Initializer lists weren't the problem.  Missing precompiler macros was.
     13
    1142016-04-05  Alex Christensen  <achristensen@webkit.org>
    215
  • trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp

    r199058 r199059  
    27482748}
    27492749
     2750#if ENABLE(INDEXED_DATABASE)
    27502751void SerializedScriptValue::writeBlobsToDiskForIndexedDB(std::function<void (const IDBValue&)> completionHandler)
    27512752{
    … …  
    27532754
    27542755    if (m_blobURLs.isEmpty()) {
    2755         completionHandler(IDBValue());
     2756        completionHandler({ });
    27562757        return;
    27572758    }
    … …  
    27602761    blobRegistry().writeBlobsToTemporaryFiles(m_blobURLs, [completionHandler, this, protector](const Vector<String>&) {
    27612762        // FIXME: Return an IDBValue that contains both the SerializedScriptValue data and all blob file data.
    2762         completionHandler(IDBValue());
     2763        completionHandler({ });
    27632764    });
    27642765}
     2766#endif
    27652767
    27662768} // namespace WebCore
  • trunk/Source/WebCore/bindings/js/SerializedScriptValue.h

    r199043 r199059  
    8585    const Vector<uint8_t>& data() const { return m_data; }
    8686    bool hasBlobURLs() const { return !m_blobURLs.isEmpty(); }
     87#if ENABLE(INDEXED_DATABASE)
    8788    void writeBlobsToDiskForIndexedDB(std::function<void (const IDBValue&)> completionHandler);
     89#endif
    8890
    8991    static Ref<SerializedScriptValue> createFromWireBytes(Vector<uint8_t>&& data)
Note: See TracChangeset for help on using the changeset viewer.