Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h

Issue 2848933002: Reland of SharedArrayBuffer throws serializing to indexeddb (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
index 15d211c929faab4a4aa82561f774dedc5a5c0a58..9ee56823e380c171e74c72c7de0c5eac31f713f5 100644
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.h
@@ -87,6 +87,9 @@
Transferables* transferables = nullptr;
WebBlobInfoArray* blob_info = nullptr;
bool write_wasm_to_stream = false;
+ // Set when serializing a value for storage; e.g. when writing to
+ // IndexedDB.
+ bool for_storage = false;
};
static PassRefPtr<SerializedScriptValue> Serialize(v8::Isolate*,
v8::Local<v8::Value>,

Powered by Google App Engine
This is Rietveld 408576698