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

Unified Diff: third_party/WebKit/Source/web/WebSerializedScriptValue.cpp

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/web/WebSerializedScriptValue.cpp
diff --git a/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp b/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
index 5b48508119526320b7326e66d24b035a222f44d5..4773320c086e3924d05004aff27d82a7c2bb4e7f 100644
--- a/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
+++ b/third_party/WebKit/Source/web/WebSerializedScriptValue.cpp
@@ -47,7 +47,8 @@ WebSerializedScriptValue WebSerializedScriptValue::serialize(
v8::Local<v8::Value> value) {
DummyExceptionStateForTesting exceptionState;
WebSerializedScriptValue serializedValue = SerializedScriptValue::serialize(
- isolate, value, nullptr, nullptr, exceptionState);
+ isolate, value, SerializedScriptValue::SerializeOptions(),
+ exceptionState);
if (exceptionState.hadException())
return createInvalid();
return serializedValue;

Powered by Google App Engine
This is Rietveld 408576698