Changeset 199059 in webkit
- Timestamp:
- Apr 5, 2016, 9:22:39 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
bindings/js/SerializedScriptValue.cpp (modified) (3 diffs)
-
bindings/js/SerializedScriptValue.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r199058 r199059 1 2016-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 1 14 2016-04-05 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp
r199058 r199059 2748 2748 } 2749 2749 2750 #if ENABLE(INDEXED_DATABASE) 2750 2751 void SerializedScriptValue::writeBlobsToDiskForIndexedDB(std::function<void (const IDBValue&)> completionHandler) 2751 2752 { … … 2753 2754 2754 2755 if (m_blobURLs.isEmpty()) { 2755 completionHandler( IDBValue());2756 completionHandler({ }); 2756 2757 return; 2757 2758 } … … 2760 2761 blobRegistry().writeBlobsToTemporaryFiles(m_blobURLs, [completionHandler, this, protector](const Vector<String>&) { 2761 2762 // FIXME: Return an IDBValue that contains both the SerializedScriptValue data and all blob file data. 2762 completionHandler( IDBValue());2763 completionHandler({ }); 2763 2764 }); 2764 2765 } 2766 #endif 2765 2767 2766 2768 } // namespace WebCore -
trunk/Source/WebCore/bindings/js/SerializedScriptValue.h
r199043 r199059 85 85 const Vector<uint8_t>& data() const { return m_data; } 86 86 bool hasBlobURLs() const { return !m_blobURLs.isEmpty(); } 87 #if ENABLE(INDEXED_DATABASE) 87 88 void writeBlobsToDiskForIndexedDB(std::function<void (const IDBValue&)> completionHandler); 89 #endif 88 90 89 91 static Ref<SerializedScriptValue> createFromWireBytes(Vector<uint8_t>&& data)
Note:
See TracChangeset
for help on using the changeset viewer.