| Index: third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp
|
| index ae58020b4a07f5f4deae9b0aedb131f474a28acd..3f7e788bee4c0d4ce4aa79155feae1739a409003 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp
|
| @@ -60,6 +60,13 @@ IDBValue::IDBValue(const IDBValue* value,
|
| }
|
| }
|
|
|
| +IDBValue::IDBValue(PassRefPtr<SharedBuffer> unwrapped_data,
|
| + std::unique_ptr<Vector<RefPtr<BlobDataHandle>>> blob_data,
|
| + std::unique_ptr<Vector<WebBlobInfo>> blob_info)
|
| + : data_(std::move(unwrapped_data)),
|
| + blob_data_(std::move(blob_data)),
|
| + blob_info_(std::move(blob_info)) {}
|
| +
|
| IDBValue::~IDBValue() {
|
| if (isolate_)
|
| isolate_->AdjustAmountOfExternalAllocatedMemory(-external_allocated_size_);
|
|
|