Commit b1dcbd0e authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

IndexedDB: Remove outdated TODO.

Bug: 721516
Change-Id: I80ef1e4b11cb44019f2136c60d3bb05431fa7916
Reviewed-on: https://chromium-review.googlesource.com/883979Reviewed-by: default avatarMarijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531670}
parent c7f6f0de
...@@ -142,8 +142,6 @@ bool IDBValueWrapper::WrapIfBiggerThan(unsigned max_bytes) { ...@@ -142,8 +142,6 @@ bool IDBValueWrapper::WrapIfBiggerThan(unsigned max_bytes) {
// TODO(pwnall): The MIME type should probably be an atomic string. // TODO(pwnall): The MIME type should probably be an atomic string.
String mime_type(kWrapMimeType); String mime_type(kWrapMimeType);
// TODO(crbug.com/721516): Use WebBlobRegistry::CreateBuilder instead of
// Blob::Create to avoid a buffer copy.
std::unique_ptr<BlobData> wrapper_blob_data = BlobData::Create(); std::unique_ptr<BlobData> wrapper_blob_data = BlobData::Create();
wrapper_blob_data->SetContentType(String(kWrapMimeType)); wrapper_blob_data->SetContentType(String(kWrapMimeType));
wrapper_blob_data->AppendBytes(wire_data_.data(), wire_data_size); wrapper_blob_data->AppendBytes(wire_data_.data(), wire_data_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment