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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.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/SerializedScriptValueForModulesFactory.h
diff --git a/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h b/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
index 479b5016ed5fbafbfa1b1c5c90e058c04e44ce74..03fad484e5aab2d7bcc00c494aa1ca2676d56798 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
+++ b/third_party/WebKit/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
@@ -18,17 +18,17 @@ class SerializedScriptValueForModulesFactory final
public:
SerializedScriptValueForModulesFactory() : SerializedScriptValueFactory() {}
- PassRefPtr<SerializedScriptValue> create(v8::Isolate*,
- v8::Local<v8::Value>,
- Transferables*,
- WebBlobInfoArray*,
- ExceptionState&) override;
-
protected:
- v8::Local<v8::Value> deserialize(SerializedScriptValue*,
- v8::Isolate*,
- MessagePortArray*,
- const WebBlobInfoArray*) override;
+ PassRefPtr<SerializedScriptValue> create(
+ v8::Isolate*,
+ v8::Local<v8::Value>,
+ const SerializedScriptValue::SerializeOptions&,
+ ExceptionState&) override;
+
+ v8::Local<v8::Value> deserialize(
+ SerializedScriptValue*,
+ v8::Isolate*,
+ const SerializedScriptValue::DeserializeOptions&) override;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698