| Index: third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp
|
| index a834b6a25b11c156cc75e7f2bb49687da56499bf..36969a79a5ae10d2cf8ecd4e372080034db2bcdf 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBValueWrapping.cpp
|
| @@ -67,7 +67,8 @@ IDBValueWrapper::IDBValueWrapper(
|
|
|
| serialized_value_ = SerializedScriptValue::Serialize(isolate, value, options,
|
| exception_state);
|
| -
|
| + if (serialized_value_)
|
| + original_data_length_ = serialized_value_->DataLengthInBytes();
|
| #if DCHECK_IS_ON()
|
| if (exception_state.HadException())
|
| had_exception_ = true;
|
|
|