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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.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/V8ScriptValueSerializerForModules.h
diff --git a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h
index f0128b9711205294c060477ca7c1c3135876a5f5..2117173f97c59a11b325f19d7e5329417320024e 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h
+++ b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.h
@@ -17,8 +17,10 @@ class WebCryptoKey;
class MODULES_EXPORT V8ScriptValueSerializerForModules final
: public V8ScriptValueSerializer {
public:
- explicit V8ScriptValueSerializerForModules(RefPtr<ScriptState> scriptState)
- : V8ScriptValueSerializer(scriptState) {}
+ explicit V8ScriptValueSerializerForModules(
+ RefPtr<ScriptState> scriptState,
+ const SerializedScriptValue::SerializeOptions& options)
+ : V8ScriptValueSerializer(scriptState, options) {}
protected:
bool writeDOMObject(ScriptWrappable*, ExceptionState&) override;

Powered by Google App Engine
This is Rietveld 408576698