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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.h

Issue 2755383004: Encapsulate optional SerializedScriptValue serialize/deserialize parameters. (Closed)
Patch Set: fuzzer Created 3 years, 9 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/modules/v8/serialization/V8ScriptValueDeserializerForModules.h
diff --git a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.h b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.h
index 3980b9d6b6b0d98512ae1321dd19f9543fabf5b3..7c7a298f20914f4b59ffc772888f7c5b3c260000 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.h
+++ b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.h
@@ -18,8 +18,10 @@ class MODULES_EXPORT V8ScriptValueDeserializerForModules final
public:
explicit V8ScriptValueDeserializerForModules(
RefPtr<ScriptState> scriptState,
- RefPtr<SerializedScriptValue> serializedScriptValue)
- : V8ScriptValueDeserializer(scriptState, serializedScriptValue) {}
+ RefPtr<SerializedScriptValue> serializedScriptValue,
+ const Options& options = Options())
+ : V8ScriptValueDeserializer(scriptState, serializedScriptValue, options) {
+ }
protected:
ScriptWrappable* readDOMObject(SerializationTag) override;

Powered by Google App Engine
This is Rietveld 408576698